2004-08-19 Paul Jakma <paul@dishone.st>
* rip_interface.c: (rip_interface_multicast_set) get rid
of extraneous if_pointopoint arg. ifp is accessible via connected.
pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
* ripd.c: (rip_send_packet) update call to
rip_interface_multicast_set
* ripd.h: update rip_interface_multicast_set prototype
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 8b76073..af0e186 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -1355,7 +1355,7 @@
#ifdef RIP_RECVMSG
setsockopt_pktinfo (send_sock);
#endif /* RIP_RECVMSG */
- rip_interface_multicast_set(send_sock, connected, if_is_pointopoint(ifp));
+ rip_interface_multicast_set (send_sock, connected);
}
ret = sendto (send_sock, buf, size, 0, (struct sockaddr *)&sin,