]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Fix compilation error
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Jan 2017 12:50:19 +0000 (07:50 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Jan 2017 12:50:19 +0000 (07:50 -0500)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
pimd/pim_sock.c

index 5fcdfe1b9bbbc7cf2878dace681d7a4ce92b1ae4..eda81c6571fed6a8d73b4f707c6ffc97b38858c2 100644 (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,