]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Really disable IPv6 NDP lookup.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 30 May 2010 09:46:06 +0000 (21:46 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 30 May 2010 09:46:06 +0000 (21:46 +1200)
src/eui/Eui64.cc

index 89b7a31aaa83760541c5bb4045545106789bea87..5b01644282f03bc48dd043129836da863cae3f39 100644 (file)
@@ -67,13 +67,11 @@ Eui::Eui64::lookupSlaac(Ip::Address &c)
 bool
 Eui::Eui64::lookupNdp(Ip::Address &c)
 {
+#if 0 /* no actual lookup coded yet */
 #if USE_IPV6
 
-#if 0 /* no OS yet supported for NDP protocol lookup */
-
-#else
+    /* no OS yet supported for NDP protocol lookup */
     debugs(28, 0, "ERROR: ARP / MAC / EUI-* operations not supported on this operating system.");
-#endif
 
     /*
      * Address was not found on any interface
@@ -82,6 +80,7 @@ Eui::Eui64::lookupNdp(Ip::Address &c)
 #else
     debugs(28, 0, "ERROR: IPv6 EUI-64 operations not supported on this operating system.");
 #endif
+#endif /* 0 */
 
     clear();
     return false;