From: Leonardo Taccari <> Date: Fri, 6 May 2016 06:28:50 +0000 (+1200) Subject: Bug 4509: EUI compile error on NetBSD X-Git-Tag: SQUID_3_5_18~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e493af8bb1651231d55f3c34111502ebb59da58;p=thirdparty%2Fsquid.git Bug 4509: EUI compile error on NetBSD --- diff --git a/src/eui/Eui48.cc b/src/eui/Eui48.cc index c1e87fe509..ea7971df09 100644 --- a/src/eui/Eui48.cc +++ b/src/eui/Eui48.cc @@ -375,7 +375,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!");