zebra: Use %pRN instead of %pFX whenver possible

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-01-14 12:55:48 -05:00
parent a7704e1b98
commit 5ef3568f22

View File

@ -745,9 +745,9 @@ void zebra_rib_evaluate_rn_nexthops(struct route_node *rn, uint32_t seq,
if (IS_ZEBRA_DEBUG_NHT_DETAILED) if (IS_ZEBRA_DEBUG_NHT_DETAILED)
zlog_debug( zlog_debug(
"%s(%u):%pRN has Nexthop(%pFX) depending on it, evaluating %u:%u", "%s(%u):%pRN has Nexthop(%pRN) depending on it, evaluating %u:%u",
zvrf_name(zvrf), zvrf_id(zvrf), rn, p, zvrf_name(zvrf), zvrf_id(zvrf), rn,
seq, rnh->seqno); rnh->node, seq, rnh->seqno);
/* /*
* If we have evaluated this node on this pass * If we have evaluated this node on this pass
@ -3511,8 +3511,8 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type,
else else
src_buf[0] = '\0'; src_buf[0] = '\0';
zlog_debug("%s[%d]:%pFX%s%s doesn't exist in rib", zlog_debug("%s[%d]:%pRN%s%s doesn't exist in rib",
vrf->name, table_id, p, vrf->name, table_id, rn,
(src_buf[0] != '\0') ? " from " : "", (src_buf[0] != '\0') ? " from " : "",
src_buf); src_buf);
} }