]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: no router bgp check candidate config
authorChirag Shah <chirag@nvidia.com>
Thu, 17 Sep 2020 21:20:44 +0000 (14:20 -0700)
committerChirag Shah <chirag@nvidia.com>
Sat, 3 Oct 2020 18:25:38 +0000 (11:25 -0700)
commit4b63e358bc213bfa9d1baeda6fbbdfa39df60d2e
tree3c30befb2773ab4d7514466f5facfdd5bf4ec6a7
parent5e42cb2fb088a28202e60ec57a4116f3d1f0afd5
bgpd: no router bgp check candidate config

For `no router bgp` without ASN check candidate
config for default bgp instance presence to avoid
failure from checking backend db where bgp instance
may not be created.
This situation can be seen in transactional cli mode
with following config.

bharat(config)# router bgp 101
bharat(config-router)# exit
bharat(config)# no router bgp
% No BGP process is configured
bharat(config)# no router bgp
% No BGP process is configured
bharat(config)#

Signed-off-by: Chirag Shah <chirag@nvidia.com>
bgpd/bgp_vty.c