summaryrefslogtreecommitdiff
path: root/debian/patches/ntpdate-ipv6.patch
blob: 32bb6e678c95f85a31ea90768a8f2bd88bc57ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bug #249216

Index: ntp-4.2.6.p3+dfsg/ntpdate/ntpdate.c
===================================================================
--- ntp-4.2.6.p3+dfsg.orig/ntpdate/ntpdate.c	2011-06-03 15:26:03.000000000 +0000
+++ ntp-4.2.6.p3+dfsg/ntpdate/ntpdate.c	2011-06-03 15:26:10.000000000 +0000
@@ -1742,8 +1742,7 @@
 		if (res->ai_family == AF_INET6)
 			if (setsockopt(fd[nbsock], IPPROTO_IPV6, IPV6_V6ONLY, (void*) &optval, sizeof(optval)) < 0) {
 				   msyslog(LOG_ERR, "setsockopt() IPV6_V6ONLY failed: %m");
-					exit(1);
-					/*NOTREACHED*/
+				/* exit(1); */
 		}
 #endif