Avoid macro redefinition and WinPcap incompatibility now that Npcap defines PCAP_NETMASK_UNKNOWN

This commit is contained in:
dmiller 2016-08-18 23:53:46 +00:00
parent 265e32dbd6
commit ed59a3d370
4 changed files with 12 additions and 5 deletions

View file

@ -95,8 +95,6 @@
#ifndef DISABLE_NSOCK_PCAP
#define HAVE_PCAP 1
/* WinPCAP doesn't have this */
#define PCAP_NETMASK_UNKNOWN 0
#endif
/* Need this for _WIN32_WINNT below */