Commit 17b17f73 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[5003] Added missing declaration of to_addr in PktFilterInet.

parent 3c0afa72
......@@ -169,6 +169,8 @@ PktFilterInet::receive(Iface& iface, const SocketInfo& socket_info) {
// is specific to non-Linux systems.
#if defined (IP_PKTINFO) && defined (OS_LINUX)
struct in_pktinfo* pktinfo;
struct in_addr to_addr;
memset(&to_addr, 0, sizeof(to_addr));
while (cmsg != NULL) {
Markdown is supported
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