From: Amos Jeffries Date: Sun, 30 May 2010 09:46:06 +0000 (+1200) Subject: Really disable IPv6 NDP lookup. X-Git-Tag: SQUID_3_2_0_1~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=812652e4cf142d1ded01745cb21a5229d333b738;p=thirdparty%2Fsquid.git Really disable IPv6 NDP lookup. --- diff --git a/src/eui/Eui64.cc b/src/eui/Eui64.cc index 89b7a31aaa..5b01644282 100644 --- a/src/eui/Eui64.cc +++ b/src/eui/Eui64.cc @@ -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;