When the secondary addresses got expanded to allow
v6 on the list, we needed to limit the igmp sockets
to just v4 currently.
Ticket: CM-16858
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Quentin Young <qlyoung@cumulusnetworks.com>
ifaddr);
if (!igmp) {
/* if addr new, add IGMP socket */
- pim_igmp_sock_add(pim_ifp->igmp_socket_list, ifaddr,
- ifp);
+ if (ifc->address->family == AF_INET)
+ pim_igmp_sock_add(pim_ifp->igmp_socket_list,
+ ifaddr, ifp);
}
/* Replay Static IGMP groups */