summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-03-19 22:46:56 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-03-19 22:39:22 +0000
commit8e23fef97dd9928aa212f08daefe7dd6fa036eef (patch)
treecd7ca9dd2f205641efd48961149c73edff925f44
parentaa1ca32dbca85e4f4bfc5fe699062f87f9f14251 (diff)
lib: Destroy `any` flag when creating a prefix-list entry with prefix
The same as 61c07b9d43529f69f48ca54f4f0213cff52b5d0a, but forgot to put IPv6 in place. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit 14c1e0a16959ba8718bb7831c7720707e1d73555)
-rw-r--r--lib/filter_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filter_cli.c b/lib/filter_cli.c
index 3b896e3aa2..f85f120140 100644
--- a/lib/filter_cli.c
+++ b/lib/filter_cli.c
@@ -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);
}