Define PCAP promisc flag only if not defined

This commit is contained in:
Srivats P 2021-06-29 21:01:02 +05:30
parent d32f89d30b
commit 46a54fd56b

View File

@ -29,7 +29,9 @@ const char* pcapServiceStatus(const wchar_t *name);
#else // non-windows #else // non-windows
#ifndef PCAP_OPENFLAG_PROMISCUOUS
#define PCAP_OPENFLAG_PROMISCUOUS 1 #define PCAP_OPENFLAG_PROMISCUOUS 1
#endif
struct pcap_send_queue struct pcap_send_queue
{ {