From: Marcin Siodelski Date: Wed, 14 Jan 2015 15:27:50 +0000 (+0100) Subject: [3547] Trivial fix in the pkt_filter_lpf. X-Git-Tag: trac3712_base~65^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cc52d05846879e89ec31e5295e21b21861abede;p=thirdparty%2Fkea.git [3547] Trivial fix in the pkt_filter_lpf. --- diff --git a/src/lib/dhcp/pkt_filter_lpf.cc b/src/lib/dhcp/pkt_filter_lpf.cc index f5e665b804..0833cc4477 100644 --- a/src/lib/dhcp/pkt_filter_lpf.cc +++ b/src/lib/dhcp/pkt_filter_lpf.cc @@ -149,7 +149,7 @@ PktFilterLPF::openSocket(Iface& iface, // Configure the filter program to receive unicast packets sent to the // specified address. The program will also allow packets sent to the // 255.255.255.255 broadcast address. - prog.bf_insns[8].k = static_cast(addr); + dhcp_sock_filter[8].k = static_cast(addr); // Override the default port value. dhcp_sock_filter[11].k = port;