mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
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:
parent
c131015905
commit
de674e9fc2
@ -269,7 +269,7 @@ void pim_ifchannel_ifjoin_switch(const char *caller, struct pim_ifchannel *ch,
|
|||||||
if (old_state == new_state) {
|
if (old_state == new_state) {
|
||||||
if (PIM_DEBUG_PIM_EVENTS) {
|
if (PIM_DEBUG_PIM_EVENTS) {
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s calledby %s: non-transition on state %d (%s)",
|
"%s called by %s: non-transition on state %d (%s)",
|
||||||
__func__, caller, new_state,
|
__func__, caller, new_state,
|
||||||
pim_ifchannel_ifjoin_name(new_state, 0));
|
pim_ifchannel_ifjoin_name(new_state, 0));
|
||||||
}
|
}
|
||||||
|
@ -611,9 +611,8 @@ static int pim_ecmp_nexthop_search(struct pim_instance *pim,
|
|||||||
pim_addr nhaddr = nh_node->gate.ipv6;
|
pim_addr nhaddr = nh_node->gate.ipv6;
|
||||||
#endif
|
#endif
|
||||||
nbrs[i] = pim_neighbor_find(ifps[i], nhaddr);
|
nbrs[i] = pim_neighbor_find(ifps[i], nhaddr);
|
||||||
if (nbrs[i] || pim_if_connected_to_source(ifps[i],
|
if (nbrs[i] ||
|
||||||
|
pim_if_connected_to_source(ifps[i], src->u.prefix4))
|
||||||
src->u.prefix4))
|
|
||||||
num_nbrs++;
|
num_nbrs++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user