]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Disable Sec 2672 interim fix for now
authorHarlan Stenn <stenn@ntp.org>
Fri, 19 Dec 2014 09:43:15 +0000 (04:43 -0500)
committerHarlan Stenn <stenn@ntp.org>
Fri, 19 Dec 2014 09:43:15 +0000 (04:43 -0500)
bk: 5493f333hALqPcXLR4-76bC6j-16xQ

ntpd/ntp_io.c

index 8be7247d34b50d9eb09f3c2a46b7ecfab66c77f0..ae00e55d1d867880fcb07296bdbbefb62395e614 100644 (file)
@@ -3449,6 +3449,8 @@ read_network_packet(
        ** Bug 2672: Some OSes (MacOSX and Linux) don't block spoofed ::1
        */
 
+       // temporary hack...
+#ifndef HAVE_SOLARIS_PRIVS
        if (AF_INET6 == itf->family) {
                DPRINTF(1, ("Got an IPv6 packet, from <%s> (%d) to <%s> (%d)\n",
                        stoa(&rb->recv_srcadr),
@@ -3468,6 +3470,7 @@ read_network_packet(
                return buflen;
        }
        DPRINTF(1, ("processing that packet\n"));
+#endif
 
        /*
         * Got one.  Mark how and when it got here,