]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Revert "bgpd: fix default instance name when un-hiding"
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Mon, 24 Feb 2025 23:17:30 +0000 (17:17 -0600)
committerJafar Al-Gharaibeh <jafar@atcorp.com>
Tue, 25 Feb 2025 14:58:38 +0000 (08:58 -0600)
This reverts commit 20664936afc7f952a51a19ab26daece5105bbee5.

Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
bgpd/bgpd.c

index 7b60c4fc176cc5420a646991a7cc0d5f745401f1..e3911de28a1d40385755f060da375c4a524cdf03 100644 (file)
@@ -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;