mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-03 05:45:08 +00:00
bgpd: The vpn variable must be non-null
The vpn variable in bgp_evpn_advertise_svi_ip_vni must be non-null as such it is impossible to ever need the !vpn test case. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
8dc7a75918
commit
2613754b2e
@ -3259,9 +3259,6 @@ DEFPY(bgp_evpn_advertise_svi_ip_vni,
|
||||
if (!bgp)
|
||||
return CMD_WARNING;
|
||||
|
||||
if (!vpn)
|
||||
return CMD_WARNING;
|
||||
|
||||
if (no)
|
||||
evpn_set_advertise_svi_macip(bgp, vpn, 0);
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user