Define PCAP promisc flag only if not defined
This commit is contained in:
parent
d32f89d30b
commit
46a54fd56b
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user