From: Marcin Siodelski Date: Thu, 8 Sep 2016 09:29:15 +0000 (+0200) Subject: [5003] Updated commentary about use of pseudo headers on OSX. X-Git-Tag: trac5006_base~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c73117264df9547b50085b81fdb5d3562cfcac1a;p=thirdparty%2Fkea.git [5003] Updated commentary about use of pseudo headers on OSX. --- diff --git a/src/lib/dhcp/pkt_filter_bpf.cc b/src/lib/dhcp/pkt_filter_bpf.cc index 358a927d69..6c634c3fb2 100644 --- a/src/lib/dhcp/pkt_filter_bpf.cc +++ b/src/lib/dhcp/pkt_filter_bpf.cc @@ -490,7 +490,9 @@ PktFilterBPF::receive(Iface& iface, const SocketInfo& socket_info) { // On local loopback interface the ethernet header is not present. // Instead, there is a 4-byte long pseudo header containing the - // address family in the host byte order. + // address family in the host byte order. Note that this header + // is present in the received messages on OSX, but should not be + // included in the sent messages on OSX. if (iface.flag_loopback_) { if (buf.getLength() < BPF_LOCAL_LOOPBACK_HEADER_LEN) { isc_throw(SocketReadError, "packet received on local loopback"