diff options
| author | Lennart Poettering <lennart@poettering.net> | 2005-10-25 16:40:11 +0000 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2005-10-25 16:40:11 +0000 | 
| commit | 07e6c12e6281814797bf4973a6936f0951c65172 (patch) | |
| tree | 81e2c53ad6c51661686055dd38bcfb4f51d139d0 | |
| parent | df8f2ac54e0786d1426da9ca9338590796938a6f (diff) | |
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
| -rw-r--r-- | avahi-core/socket.c | 7 | 
1 files 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);  }  | 
