build+face: Fixing regression that broke ethernet support
As of this commit, libpcap is required unless specifically disabled
using --without-libpcap parameter during configure stage.
Change-Id: Iec6f8bd9babfe4da193c98a49043b08319311106
Refs: #1472
diff --git a/daemon/mgmt/face-manager.cpp b/daemon/mgmt/face-manager.cpp
index 855bc85..7861935 100644
--- a/daemon/mgmt/face-manager.cpp
+++ b/daemon/mgmt/face-manager.cpp
@@ -37,9 +37,9 @@
#include "face/unix-stream-factory.hpp"
#endif // HAVE_UNIX_SOCKETS
-#ifdef HAVE_PCAP
+#ifdef HAVE_LIBPCAP
#include "face/ethernet-factory.hpp"
-#endif // HAVE_PCAP
+#endif // HAVE_LIBPCAP
#include <ndn-cpp-dev/management/nfd-face-event-notification.hpp>
@@ -529,7 +529,7 @@
// mcast_group 01:00:5E:00:17:AA ; Ethernet multicast group
// }
-#if defined(HAVE_PCAP)
+#if defined(HAVE_LIBPCAP)
using ethernet::Address;
@@ -595,7 +595,7 @@
}
#else
throw ConfigFile::Error("NFD was compiled without libpcap, cannot process \"ether\" section");
-#endif // HAVE_PCAP
+#endif // HAVE_LIBPCAP
}