diff options
Diffstat (limited to 'pimd/pim_ifchannel.c')
| -rw-r--r-- | pimd/pim_ifchannel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c index d7011cabfe..7a98e693ee 100644 --- a/pimd/pim_ifchannel.c +++ b/pimd/pim_ifchannel.c @@ -115,8 +115,7 @@ static void pim_ifchannel_find_new_children(struct pim_ifchannel *ch) RB_FOREACH (child, pim_ifchannel_rb, &pim_ifp->ifchannel_rb) { if (!pim_addr_is_any(ch->sg.grp) && - (child->sg.grp.s_addr == ch->sg.grp.s_addr) && - (child != ch)) { + !pim_addr_cmp(child->sg.grp, ch->sg.grp) && (child != ch)) { child->parent = ch; listnode_add_sort(ch->sources, child); } |
