mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:53:03 +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))
|
if (argv_find(argv, argc, "no", &idx))
|
||||||
yes = 0;
|
yes = 0;
|
||||||
|
|
||||||
|
/* If "no ...", squash trailing parameter */
|
||||||
|
if (!yes)
|
||||||
|
label_auto = NULL;
|
||||||
|
|
||||||
if (yes) {
|
if (yes) {
|
||||||
if (!label_auto)
|
if (!label_auto)
|
||||||
label = label_val; /* parser should force unsigned */
|
label = label_val; /* parser should force unsigned */
|
||||||
|
Loading…
Reference in New Issue
Block a user