mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 22:29:23 +00:00
bgpd: fix "no match rpki" in route-map
With this fix, make "no match rpki" in a route-map actually remove the node in the candidate configuration instead of creating it. Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
This commit is contained in:
parent
afd4d90111
commit
87c3ed1bf8
@ -1688,7 +1688,7 @@ DEFUN_YANG (no_match_rpki,
|
|||||||
const char *xpath =
|
const char *xpath =
|
||||||
"./match-condition[condition='frr-bgp-route-map:rpki']";
|
"./match-condition[condition='frr-bgp-route-map:rpki']";
|
||||||
|
|
||||||
nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, NULL);
|
nb_cli_enqueue_change(vty, xpath, NB_OP_DESTROY, NULL);
|
||||||
return nb_cli_apply_changes(vty, NULL);
|
return nb_cli_apply_changes(vty, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user