]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Destroy `any` flag when creating a prefix-list entry with prefix
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 19 Mar 2023 20:46:56 +0000 (22:46 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sun, 19 Mar 2023 22:39:22 +0000 (22:39 +0000)
The same as 61c07b9d43529f69f48ca54f4f0213cff52b5d0a, but forgot to put IPv6
in place.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 14c1e0a16959ba8718bb7831c7720707e1d73555)

lib/filter_cli.c

index 3b896e3aa20f376968fc5d9cb5b0d1594d3d5718..f85f120140fe1e86fe19bfe17a40d78f0397cc19 100644 (file)
@@ -1545,6 +1545,7 @@ DEFPY_YANG(
                                vty, "./ipv6-prefix-length-lesser-or-equal",
                                NB_OP_DESTROY, NULL);
                }
+               nb_cli_enqueue_change(vty, "./any", NB_OP_DESTROY, NULL);
        } else {
                nb_cli_enqueue_change(vty, "./any", NB_OP_CREATE, NULL);
        }