Bug #1703
closed
NFD doesn't compile with Ethernet Face support with libpcap 1.0.0
Added by Alex Afanasyev almost 11 years ago.
Updated almost 11 years ago.
Description
In libpcap
version 1.0.0 the macro PCAP_NETMASK_UNKNOWN
that is used in daemon/face/ethernet-face.cpp
is not defined.
- Status changed from New to Code review
- % Done changed from 0 to 100
Google search on the issue suggested simple defining the macro, if it is not defined:
#if !defined(PCAP_NETMASK_UNKNOWN)
/*
* Value to pass to pcap_compile() as the netmask if you don't know what
* the netmask is.
*/
#define PCAP_NETMASK_UNKNOWN 0xffffffff
#endif
- Status changed from Code review to Closed
Also available in: Atom
PDF