From: Juergen Perlinger Date: Thu, 2 May 2019 08:26:12 +0000 (+0200) Subject: [Bug 3573] nptdate: missleading error message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a079b9da4651135288fe2aa686d9fc8b44e201;p=thirdparty%2Fntp.git [Bug 3573] nptdate: missleading error message bk: 5ccaa9a4oOQBQlXZJ4LlWQgINMIaGA --- diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c index 94cc1af2b..62692fa06 100644 --- a/ntpdate/ntpdate.c +++ b/ntpdate/ntpdate.c @@ -1753,9 +1753,7 @@ init_io(void) /* Restricts AF_INET6 socket to IPv6 communications (see RFC 2553bis-03) */ 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*/ + msyslog(LOG_ERR, "setsockopt() IPV6_V6ONLY failed: %m"); } #endif