Project

General

Profile

Actions

Bug #1703

closed

NFD doesn't compile with Ethernet Face support with libpcap 1.0.0

Added by Alex Afanasyev almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Faces
Target version:
Start date:
06/26/2014
Due date:
% Done:

100%

Estimated time:

Description

In libpcap version 1.0.0 the macro PCAP_NETMASK_UNKNOWN that is used in daemon/face/ethernet-face.cpp is not defined.

Actions #1

Updated by Alex Afanasyev almost 10 years ago

  • 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
Actions #2

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF