From: Danny Mayer Date: Tue, 9 Dec 2003 14:59:50 +0000 (-0500) Subject: IPV6_V6ONLY not dependent on IPTOS_LOWDELAY, etc X-Git-Tag: NTP_4_2_3~192^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ff3749f65eeca17409f6f911c2a99aace92b842;p=thirdparty%2Fntp.git IPV6_V6ONLY not dependent on IPTOS_LOWDELAY, etc bk: 3fd5e366uU0Gc8EZ8yyNOU4MvC2hiw --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 16b153a10e..3f2d93c9df 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -1081,6 +1081,7 @@ open_socket( netsyslog(LOG_ERR, "setsockopt IPTOS_LOWDELAY on fails on address %s: %m", stoa(addr)); } +#endif /* IPTOS_LOWDELAY && IPPROTO_IP && IP_TOS */ #if defined(IPV6_V6ONLY) if (addr->ss_family == AF_INET6) @@ -1103,8 +1104,6 @@ open_socket( #endif /* IPV6_BINDV6ONLY */ #endif /* IPV6_V6ONLY */ -#endif /* IPTOS_LOWDELAY && IPPROTO_IP && IP_TOS */ - /* * bind the local address. */