mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 20:10:36 +00:00
bgpd: issue 2263: fix "no label vpn export auto"
This command should unset the label (instead of wrongly setting to "auto") Signed-off-by: G. Paul Ziemba <paulz@labn.net>
This commit is contained in:
parent
6ab5222f78
commit
21a16cc2a3
@ -6311,6 +6311,10 @@ DEFPY (af_label_vpn_export,
|
||||
if (argv_find(argv, argc, "no", &idx))
|
||||
yes = 0;
|
||||
|
||||
/* If "no ...", squash trailing parameter */
|
||||
if (!yes)
|
||||
label_auto = NULL;
|
||||
|
||||
if (yes) {
|
||||
if (!label_auto)
|
||||
label = label_val; /* parser should force unsigned */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user