Merge pull request #2371 from gromit1811/pim-rp-lookup-messages-fix

pimd: Fix debug messages
This commit is contained in:
Donald Sharp 2018-06-05 07:40:53 -04:00 committed by GitHub
commit d6bc1e1450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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");