mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 04:52:01 +00:00
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>
This commit is contained in:
parent
fc6115ced7
commit
5385202399
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user