pimd: Fix compilation error

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
This commit is contained in:
Donald Sharp 2017-01-18 07:50:19 -05:00
parent de6d2fa72e
commit 5fe80c1a8f

View File

@ -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,