Commit 5cc52d05 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3547] Trivial fix in the pkt_filter_lpf.

parent 71390391
......@@ -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
// 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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment