macOS: PCAP: Fix typo
parent
bb65e37841
commit
16b88b7787
|
|
@ -105,7 +105,7 @@ std::vector<PCAP::PCAPFoundDevice> PCAP::FindAll() {
|
||||||
#ifdef __linux__ // -1 is required for instant reporting of new packets
|
#ifdef __linux__ // -1 is required for instant reporting of new packets
|
||||||
-1, // to_ms
|
-1, // to_ms
|
||||||
#else // macOS gives BIOCSRTIMEOUT for -1 and no packets for 0
|
#else // macOS gives BIOCSRTIMEOUT for -1 and no packets for 0
|
||||||
0,
|
1,
|
||||||
#endif
|
#endif
|
||||||
errbuf);
|
errbuf);
|
||||||
// TODO Handle warnings
|
// TODO Handle warnings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue