diff options
author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2022-05-19 18:38:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 18:38:10 +0200 |
commit | 93480825fb6aa9241a1cdafc1c23729732fb23ee (patch) | |
tree | ec0376808014b2a9f420dd8c798d9efdaf12e52d /bgpd/bgp_vty.c | |
parent | Merge pull request #11210 from anlancs/fix/zebra-leak-vtp (diff) | |
parent | bgpd: remove unnecessary check for evpn (diff) | |
download | frr-93480825fb6aa9241a1cdafc1c23729732fb23ee.tar.xz frr-93480825fb6aa9241a1cdafc1c23729732fb23ee.zip |
Merge pull request #11204 from anlancs/fix/bgpd-check-vnihash
bgpd: remove unnecessary check for evpn
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r-- | bgpd/bgp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 9e22c6cdb..9cfec0fe2 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -1554,7 +1554,7 @@ DEFUN (no_router_bgp, BGP_L2VPN_EVPN_ADV_IPV6_UNICAST) || CHECK_FLAG(tmp_bgp->af_flags[AFI_L2VPN][SAFI_EVPN], BGP_L2VPN_EVPN_ADV_IPV6_UNICAST_GW_IP))) || - (tmp_bgp->vnihash && hashcount(tmp_bgp->vnihash))) { + (hashcount(tmp_bgp->vnihash))) { vty_out(vty, "%% Cannot delete default BGP instance. Dependent VRF instances exist\n"); return CMD_WARNING_CONFIG_FAILED; |