summaryrefslogtreecommitdiff
path: root/packages/ntp/ntp-4.2.2p3/ipv6only-workaround.patch
blob: 5301621dc28094e8ee9cbfd87a61674d6cb6411f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: ntp-4.2.2p3/ntpdate/ntpdate.c
===================================================================
--- ntp-4.2.2p3.orig/ntpdate/ntpdate.c
+++ ntp-4.2.2p3/ntpdate/ntpdate.c
@@ -1777,8 +1777,6 @@ init_io(void)
 	   if (res->ai_family == AF_INET6)
 		if (setsockopt(fd[nbsock], IPPROTO_IPV6, IPV6_V6ONLY, (void*) &optval, sizeof(optval)) < 0) {
 			   netsyslog(LOG_ERR, "setsockopt() IPV6_V6ONLY failed: %m");
-			   exit(1);
-			   /*NOTREACHED*/
 		}
 #endif