From cb7d65f23e1529221b7eb311d886ff5260952945 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 1 Nov 2005 23:12:23 +0000 Subject: * Always specfify the local IP address when joining mcast groups. This increases compatibility with *BSD and is smoother on other systems, too git-svn-id: file:///home/lennart/svn/public/avahi/trunk@921 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/socket.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'avahi-core/socket.h') diff --git a/avahi-core/socket.h b/avahi-core/socket.h index 02990b7..57f9153 100644 --- a/avahi-core/socket.h +++ b/avahi-core/socket.h @@ -44,12 +44,7 @@ int avahi_send_dns_packet_ipv6(int fd, int iface, AvahiDnsPacket *p, const Avahi AvahiDnsPacket *avahi_recv_dns_packet_ipv4(int fd, struct sockaddr_in*ret_sa, AvahiIPv4Address *ret_dest_address, int *ret_iface, uint8_t *ret_ttl); AvahiDnsPacket *avahi_recv_dns_packet_ipv6(int fd, struct sockaddr_in6*ret_sa, AvahiIPv6Address *ret_dest_address, int *ret_iface, uint8_t *ret_ttl); -#ifdef HAVE_STRUCT_IP_MREQN -int avahi_mdns_mcast_join_ipv4(int fd, int idx, int join); -#else -int avahi_mdns_mcast_join_ipv4(int fd, const AvahiAddress *a, int join); -#endif - -int avahi_mdns_mcast_join_ipv6(int fd, int idx, int join); +int avahi_mdns_mcast_join_ipv4(int fd, const AvahiIPv4Address *a, int iface, int join); +int avahi_mdns_mcast_join_ipv6(int fd, const AvahiIPv6Address *a, int iface, int join); #endif -- cgit