mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 22:14:49 +00:00
pimd: Fix compilation error
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
This commit is contained in:
parent
de6d2fa72e
commit
5fe80c1a8f
@ -225,7 +225,10 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, int ifindex, u_char lo
|
||||
#ifdef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
|
||||
mreq.imr_ifindex = ifindex;
|
||||
#else
|
||||
mreq.imr_interface = ifindex;
|
||||
/*
|
||||
* I am not sure what to do here yet for *BSD
|
||||
*/
|
||||
//mreq.imr_interface = ifindex;
|
||||
#endif
|
||||
|
||||
if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_IF,
|
||||
|
Loading…
Reference in New Issue
Block a user