]> 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)
committerton31337 <3352707+ton31337@users.noreply.github.com>
Mon, 20 Mar 2023 11:27:16 +0000 (11:27 +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 5c31757c2fe496f34dffb7fa726853de24f77b9e..39b58f53e458f5ac0bdd29b04447884f432931e5 100644 (file)
@@ -1521,6 +1521,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);
        }