summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-01-16 14:16:43 +0200
committerGitHub <noreply@github.com>2023-01-16 14:16:43 +0200
commitd9e1fe38a660c7ebd52dc8956c530335fcbe2a3c (patch)
treeefc45fe0c69cfa10a05fc8184090e9690e163861
parent0fe10eb8eb59d40927cc35fe100b0652aca3a3b3 (diff)
parent6bb58de0a528e197778681bfa6be1e802c2911d9 (diff)
Merge pull request #12642 from anlancs/fix/bgpd-debug-name
bgpd: fix wrong vrf name for debug
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 9b4aa38d7a..2fd2479f25 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -3576,7 +3576,7 @@ int bgp_get(struct bgp **bgp_val, as_t *as, const char *name,
if (IS_BGP_INST_KNOWN_TO_ZEBRA(bgp)) {
if (BGP_DEBUG(zebra, ZEBRA))
zlog_debug("%s: Registering BGP instance %s to zebra",
- __func__, name);
+ __func__, bgp->name_pretty);
bgp_zebra_instance_register(bgp);
}