From 538520239951422ac88791a8516a293fd1d3504c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 12 Aug 2023 11:40:30 -0400 Subject: [PATCH] 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 --- pimd/pim_nht.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index 10d80312e2..4e8e5f0df7 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; -- 2.39.5