mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 23:42:27 +00:00
pimd: Only add a igmp socket if the address is ipv4
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>
This commit is contained in:
parent
9853a7a5b1
commit
c77a04e427
@ -605,8 +605,9 @@ void pim_if_addr_add(struct connected *ifc)
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user