From: Leonardo Taccari <> Date: Sat, 30 Apr 2016 18:48:35 +0000 (+1200) Subject: Bug 4509: EUI compile error on NetBSD X-Git-Tag: SQUID_4_0_10~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b8fcab732dd01f7212aaa8a6a76d674d6f98b8;p=thirdparty%2Fsquid.git Bug 4509: EUI compile error on NetBSD --- diff --git a/src/eui/Eui48.cc b/src/eui/Eui48.cc index cb533ac1d2..b894a12742 100644 --- a/src/eui/Eui48.cc +++ b/src/eui/Eui48.cc @@ -371,7 +371,11 @@ Eui::Eui48::lookup(const Ip::Address &c) mib[4] = NET_RT_FLAGS; +#if defined(RTF_LLDATA) + mib[5] = RTF_LLDATA; +#else mib[5] = RTF_LLINFO; +#endif if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) { debugs(28, DBG_CRITICAL, "Can't estimate ARP table size!");