Commit 4881a52f authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

Another fix for MacOS compilation.

parent 7e0fdfb4
......@@ -755,11 +755,12 @@ IfaceMgr::receive4() {
return (boost::shared_ptr<Pkt4>()); // NULL
}
unsigned int ifindex = iface->getIndex();
// OS_LINUX defines are part of ticket #1237
#if defined(OS_LINUX)
struct cmsghdr* cmsg;
struct in_pktinfo* pktinfo;
unsigned int ifindex = 0;
int found_pktinfo = 0;
cmsg = CMSG_FIRSTHDR(&m);
......
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