diff options
author | Martin Buck <martin.buck@ruag.com> | 2018-06-04 14:27:48 +0200 |
---|---|---|
committer | Martin Buck <martin.buck@ruag.com> | 2018-06-04 14:27:48 +0200 |
commit | 5271457d94c92a04cae098df99a32da9f29c7d68 (patch) | |
tree | f9eb9555db84e17aeed20bddb7f64fa467d2b3a3 | |
parent | Merge pull request #2245 from donaldsharp/type_4 (diff) | |
download | frr-5271457d94c92a04cae098df99a32da9f29c7d68.tar.xz frr-5271457d94c92a04cae098df99a32da9f29c7d68.zip |
pimd: Fix debug messages
Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
-rw-r--r-- | pimd/pim_rp.c | 4 | ||||
-rw-r--r-- | pimd/pim_rpf.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c index 45d3452d7..a8cf58cd3 100644 --- a/pimd/pim_rp.c +++ b/pimd/pim_rp.c @@ -702,9 +702,9 @@ void pim_rp_setup(struct pim_instance *pim) "%s: NHT Local Nexthop not found for RP %s ", __PRETTY_FUNCTION__, buf); } - if (!pim_nexthop_lookup( + if (pim_nexthop_lookup( pim, &rp_info->rp.source_nexthop, - rp_info->rp.rpf_addr.u.prefix4, 1)) + rp_info->rp.rpf_addr.u.prefix4, 1) < 0) if (PIM_DEBUG_PIM_NHT_RP) zlog_debug( "Unable to lookup nexthop for rp specified"); diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 221c1ee4a..010db7939 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -77,7 +77,7 @@ int pim_nexthop_lookup(struct pim_instance *pim, struct pim_nexthop *nexthop, pim_addr_dump("<nexthop?>", &nexthop->mrib_nexthop_addr, nexthop_str, sizeof(nexthop_str)); zlog_debug( - "%s: Using last lookup for %s at %lld, %" PRId64 " addr%s", + "%s: Using last lookup for %s at %lld, %" PRId64 " addr %s", __PRETTY_FUNCTION__, addr_str, nexthop->last_lookup_time, pim->last_route_change_time, nexthop_str); |