mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:50:17 +00:00
Merge pull request #2301 from LabNConsulting/working/master/bgpd-issue-2263-no-label-auto
bgpd: issue 2263: fix "no label vpn export auto"
This commit is contained in:
commit
bbc1a1d6bf
@ -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