------------------------------------------------------------ revno: 14042 revision-id: squid3@treenet.co.nz-20160506062850-pq93hjkubqnq8ehz parent: squid3@treenet.co.nz-20160506062507-dhpcyg37ltaqodnd fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=4509 author: Leonardo Taccari committer: Amos Jeffries branch nick: 3.5 timestamp: Fri 2016-05-06 18:28:50 +1200 message: Bug 4509: EUI compile error on NetBSD ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20160506062850-pq93hjkubqnq8ehz # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 7362e7c335ad966c7f2198263e324088cebb0885 # timestamp: 2016-05-06 06:31:13 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20160506062507-\ # dhpcyg37ltaqodnd # # Begin patch === modified file 'src/eui/Eui48.cc' --- src/eui/Eui48.cc 2016-03-23 14:05:31 +0000 +++ src/eui/Eui48.cc 2016-05-06 06:28:50 +0000 @@ -375,7 +375,11 @@ 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!");