pimd: cosmetic change

Remove one empty line. And correct one word.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
This commit is contained in:
anlan_cs 2022-01-30 02:13:39 -05:00
parent c131015905
commit de674e9fc2
2 changed files with 3 additions and 4 deletions

View File

@ -611,9 +611,8 @@ static int pim_ecmp_nexthop_search(struct pim_instance *pim,
pim_addr nhaddr = nh_node->gate.ipv6;
#endif
nbrs[i] = pim_neighbor_find(ifps[i], nhaddr);
if (nbrs[i] || pim_if_connected_to_source(ifps[i],
src->u.prefix4))
if (nbrs[i] ||
pim_if_connected_to_source(ifps[i], src->u.prefix4))
num_nbrs++;
}
}