]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
IPV6_V6ONLY not dependent on IPTOS_LOWDELAY, etc
authorDanny Mayer <mayer@ntp.org>
Tue, 9 Dec 2003 14:59:50 +0000 (09:59 -0500)
committerDanny Mayer <mayer@ntp.org>
Tue, 9 Dec 2003 14:59:50 +0000 (09:59 -0500)
bk: 3fd5e366uU0Gc8EZ8yyNOU4MvC2hiw

ntpd/ntp_io.c

index 16b153a10ec21b7b058dc80cd5222cc2cb73487c..3f2d93c9df212b3def1672eeac8bcc98da468dab 100644 (file)
@@ -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.
         */