]> git.meshlink.io Git - catta/commitdiff
add a compiler warning that avahi_send_dns_packet_ipv4() still misses support for...
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Oct 2005 16:40:11 +0000 (16:40 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Oct 2005 16:40:11 +0000 (16:40 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@866 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/socket.c

index ef421c9f2218ce944cb882d856f3da2f97374db6..fcc63fabdd2b062d9eed6bcefa2e5bbbe414c858 100644 (file)
@@ -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);
 }