]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: always allow no advertise-svi-ip/default-gw 8424/head
authorTrey Aspelund <taspelund@nvidia.com>
Thu, 8 Apr 2021 07:25:22 +0000 (07:25 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Thu, 8 Apr 2021 07:25:22 +0000 (07:25 +0000)
commite5aee1518aae56402fa73d4ce7621fb6d9f34be0
tree22db9c58e501ec27c5893e496d59f59fa9f264e5
parent9d78be6aac062d8b16bc13479f0e1bf40beab863
bgpd: always allow no advertise-svi-ip/default-gw

Current behavior has an EVPN_ENABLED check for both standard and 'no'
forms of 'advertise-svi-ip' and 'advertise-default-gw'. This prevents a
user from removing either command from running config if
'advertise-all-vni' is not present.
This commit removes/adjusts the EVPN_ENABLED checks to always allow the
'no' command so config doesn't get stuck.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
bgpd/bgp_evpn_vty.c