]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3547] Trivial fix in the pkt_filter_lpf.
authorMarcin Siodelski <marcin@isc.org>
Wed, 14 Jan 2015 15:27:50 +0000 (16:27 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 14 Jan 2015 15:27:50 +0000 (16:27 +0100)
src/lib/dhcp/pkt_filter_lpf.cc

index f5e665b804350269c1f0090cbef747c885177485..0833cc4477755b525d8f4dc89d568c07c6e85ed0 100644 (file)
@@ -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<uint32_t>(addr);
+    dhcp_sock_filter[8].k = static_cast<uint32_t>(addr);
 
     // Override the default port value.
     dhcp_sock_filter[11].k = port;