]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: don't use operational state in "router bgp" command
authorIgor Ryzhov <iryzhov@nfware.com>
Sun, 14 Mar 2021 17:04:42 +0000 (20:04 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 23 Mar 2021 17:50:05 +0000 (20:50 +0300)
commit4062b455a6eacfe3f5107daa68351b18cc0ca7e7
treebe4305794d299920af29daf0f99475a04a9d3635
parent45d1d7c9a2b7b41125e565af566e10d470349122
bgpd: don't use operational state in "router bgp" command

Instead of using bgp_get_default which refers to operational state, we
can check existence of the default node using only candidate config.
The same thing is done in "no router bgp" command.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_vty.c