summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index d90875b78c..342c3c6be6 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -3768,7 +3768,7 @@ int bgp_lookup_by_as_name_type(struct bgp **bgp_val, as_t *as, const char *as_pr
/* Handle AS number change */
if (bgp->as != *as) {
if (hidden || CHECK_FLAG(bgp->vrf_flags, BGP_VRF_AUTO)) {
- if (force_config == false && hidden) {
+ if (hidden) {
bgp_create(as, name, inst_type,
as_pretty, asnotation, bgp,
hidden);