]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup: improved EUI debugging
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 10 Mar 2016 14:46:28 +0000 (03:46 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 10 Mar 2016 14:46:28 +0000 (03:46 +1300)
src/eui/Eui48.cc

index fee9eaac9c508cde2136bb72310ec76648f7a881..c1e87fe509ee1acb16e083ec9567691ff9b12013 100644 (file)
@@ -181,6 +181,7 @@ Eui::Eui48::lookup(const Ip::Address &c)
         close(tmpSocket);
 
         if (arpReq.arp_ha.sa_family != ARPHRD_ETHER) {
+            debugs(28, 4, "id=" << (void*)this << " ... not an Ethernet interface: " << arpReq.arp_ha.sa_data);
             clear();
             return false;
         }