summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2025-02-24 17:17:30 -0600
committerJafar Al-Gharaibeh <jafar@atcorp.com>2025-02-25 08:58:38 -0600
commitc2ecbdccc5c602f0c0fd5a87346f2754a1aa6648 (patch)
tree9a1346491415f5fce59b8e703413981c423c0d6d
parent094363f8bd90101297e02909b77a1607fbaa6586 (diff)
Revert "bgpd: fix default instance name when un-hiding"
This reverts commit 20664936afc7f952a51a19ab26daece5105bbee5. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 7b60c4fc17..e3911de28a 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -3561,7 +3561,7 @@ peer_init:
/* printable name we can use in debug messages */
if (inst_type == BGP_INSTANCE_TYPE_DEFAULT && !hidden) {
bgp->name_pretty = XSTRDUP(MTYPE_BGP_NAME, "VRF default");
- } else if (!hidden) {
+ } else {
const char *n;
int len;