Parcourir la source

[3547] Trivial fix in the pkt_filter_lpf.

Marcin Siodelski il y a 10 ans
Parent
commit
5cc52d0584
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dhcp/pkt_filter_lpf.cc

+ 1 - 1
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<uint32_t>(addr);
+    dhcp_sock_filter[8].k = static_cast<uint32_t>(addr);
 
     // Override the default port value.
     dhcp_sock_filter[11].k = port;