mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
macOS: PCAP: Fix typo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user