summaryrefslogtreecommitdiffstats
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-12 17:40:30 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-08-14 17:08:00 +0200
commit538520239951422ac88791a8516a293fd1d3504c (patch)
tree8ed2c91f5d703f0b9d88e763f17ced13e79a9a13 /pimd/pim_nht.c
parentpimd: Intentionally rescan oil when RPF fails on upstream creation (diff)
downloadfrr-538520239951422ac88791a8516a293fd1d3504c.tar.xz
frr-538520239951422ac88791a8516a293fd1d3504c.zip
pimd: Add whether or not the rpf succeeded or not to the debug
Hard to know what is going on if the debug doesn't tell us. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 10d80312e..4e8e5f0df 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -461,15 +461,15 @@ static int pim_update_upstream_nh_helper(struct hash_bucket *bucket, void *arg)
}
if (PIM_DEBUG_PIM_NHT) {
- zlog_debug(
- "%s: NHT upstream %s(%s) old ifp %s new ifp %s",
- __func__, up->sg_str, pim->vrf->name,
- old.source_nexthop.interface ? old.source_nexthop
- .interface->name
- : "Unknown",
- up->rpf.source_nexthop.interface ? up->rpf.source_nexthop
- .interface->name
- : "Unknown");
+ zlog_debug("%s: NHT upstream %s(%s) old ifp %s new ifp %s rpf_result: %d",
+ __func__, up->sg_str, pim->vrf->name,
+ old.source_nexthop.interface ? old.source_nexthop
+ .interface->name
+ : "Unknown",
+ up->rpf.source_nexthop.interface ? up->rpf.source_nexthop
+ .interface->name
+ : "Unknown",
+ rpf_result);
}
return HASHWALK_CONTINUE;