lib: Destroy any flag when creating a prefix-list entry with prefix

The same as 61c07b9d43, but forgot to put IPv6
in place.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 14c1e0a169)
This commit is contained in:
Donatas Abraitis 2023-03-19 22:46:56 +02:00 committed by Mergify
parent aa1ca32dbc
commit 8e23fef97d

View 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);
}