summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-12 21:01:46 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-12 21:04:59 +0100
commit22427b5392568d18caee5e4f4a2158279c989835 (patch)
tree06a357c7bb4195d426723d902217ea517f191bd7 /pimd
parentpimd: Re-align pim_msg_get_jp_group_size (diff)
downloadfrr-22427b5392568d18caee5e4f4a2158279c989835.tar.xz
frr-22427b5392568d18caee5e4f4a2158279c989835.zip
pimd: Use vrf name instead of id in some debugs
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_zebra.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 1da308426..04cd087e6 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -96,8 +96,8 @@ static int pim_zebra_if_address_add(ZAPI_CALLBACK_ARGS)
p = c->address;
if (PIM_DEBUG_ZEBRA) {
- zlog_debug("%s: %s(%u) connected IP address %pFX flags %u %s",
- __func__, c->ifp->name, vrf_id, p, c->flags,
+ zlog_debug("%s: %s(%s) connected IP address %pFX flags %u %s",
+ __func__, c->ifp->name, VRF_LOGNAME(pim_ifp->pim->vrf), p, c->flags,
CHECK_FLAG(c->flags, ZEBRA_IFA_SECONDARY)
? "secondary"
: "primary");
@@ -182,8 +182,8 @@ static int pim_zebra_if_address_del(ZAPI_CALLBACK_ARGS)
if (PIM_DEBUG_ZEBRA) {
zlog_debug(
- "%s: %s(%u) disconnected IP address %pFX flags %u %s",
- __func__, c->ifp->name, vrf_id, p, c->flags,
+ "%s: %s(%s) disconnected IP address %pFX flags %u %s",
+ __func__, c->ifp->name, VRF_LOGNAME(vrf), p, c->flags,
CHECK_FLAG(c->flags, ZEBRA_IFA_SECONDARY)
? "secondary"
: "primary");
@@ -325,7 +325,7 @@ static int pim_zebra_vxlan_sg_proc(ZAPI_CALLBACK_ARGS)
stream_get(&sg.grp, s, prefixlen);
if (PIM_DEBUG_ZEBRA)
- zlog_debug("%u:recv SG %s %pSG", vrf_id,
+ zlog_debug("%s:recv SG %s %pSG", VRF_LOGNAME(pim->vrf),
(cmd == ZEBRA_VXLAN_SG_ADD) ? "add" : "del", &sg);
if (cmd == ZEBRA_VXLAN_SG_ADD)