From 07e6c12e6281814797bf4973a6936f0951c65172 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Oct 2005 16:40:11 +0000 Subject: [PATCH] add a compiler warning that avahi_send_dns_packet_ipv4() still misses support for setting the outgoing interface on everythng but Linux git-svn-id: file:///home/lennart/svn/public/avahi/trunk@866 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/socket.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/avahi-core/socket.c b/avahi-core/socket.c index ef421c9..fcc63fa 100644 --- a/avahi-core/socket.c +++ b/avahi-core/socket.c @@ -491,10 +491,11 @@ int avahi_send_dns_packet_ipv4(int fd, int interface, AvahiDnsPacket *p, const A msg.msg_control = cmsg_data; msg.msg_controllen = sizeof(cmsg_data); } +#else +#ifdef __GNUC__ +#warning "FIXME: We need some code to set the outgoing interface here if IP_PKTINFO is not available" +#endif #endif - - /** FIXME: We need some code to set the outgoing interface here if - * IP_PKTINFO is not available */ return sendmsg_loop(fd, &msg, 0); } -- 2.39.5