Merge pull request #12642 from anlancs/fix/bgpd-debug-name

bgpd: fix wrong vrf name for debug
This commit is contained in:
Donatas Abraitis 2023-01-16 14:16:43 +02:00 committed by GitHub
commit d9e1fe38a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}