unset INITRAMFS_SOURCE if appropriate
[buildroot.git] / package / avahi / uclibc.patch
blob5b2e17022d9695195c1a9ec04c559630ed8466ed
1 diff -urN avahi-0.6.14-orig/avahi-core/socket.c avahi-0.6.14/avahi-core/socket.c
2 --- avahi-0.6.14-orig/avahi-core/socket.c 2006-08-31 10:18:03.000000000 -0700
3 +++ avahi-0.6.14/avahi-core/socket.c 2006-09-21 19:01:31.000000000 -0700
4 @@ -394,13 +394,13 @@
5 avahi_log_warn("IPV6_UNICAST_HOPS failed: %s", strerror(errno));
6 goto fail;
8 -
9 +#ifdef IPV6_V6ONLY
10 yes = 1;
11 if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &yes, sizeof(yes)) < 0) {
12 avahi_log_warn("IPV6_V6ONLY failed: %s", strerror(errno));
13 goto fail;
16 +#endif
17 yes = 1;
18 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &yes, sizeof(yes)) < 0) {
19 avahi_log_warn("IPV6_MULTICAST_LOOP failed: %s", strerror(errno));