]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ntp/files/ipv6only-workaround.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ntp / files / ipv6only-workaround.patch
1 Patch taken from Debian: http://bugs.debian.org/249216
2 ------------------------------------------------------------------------
3 --- ntp-4.2.0/ntpdate/ntpdate.c~ipv6only-workaround
4 +++ ntp-4.2.0/ntpdate/ntpdate.c
5 @@ -1698,8 +1698,6 @@
6             if (res->ai_family == AF_INET6)
7                  if (setsockopt(fd[nbsock], IPPROTO_IPV6, IPV6_V6ONLY, (void*) &optval, sizeof(optval)) < 0) {
8                            netsyslog(LOG_ERR, "setsockopt() IPV6_V6ONLY failed: %m");
9 -                          exit(1);
10 -                          /*NOTREACHED*/
11                 }
12  #endif
13