macOS: PCAP: Fix typo

This commit is contained in:
Paul Hollinsky
2021-07-05 23:54:15 -04:00
parent 02c14aeb35
commit 0c67cdf078
+1 -1
View File
@@ -105,7 +105,7 @@ std::vector<PCAP::PCAPFoundDevice> PCAP::FindAll() {
#ifdef __linux__ // -1 is required for instant reporting of new packets
-1, // to_ms
#else // macOS gives BIOCSRTIMEOUT for -1 and no packets for 0
0,
1,
#endif
errbuf);
// TODO Handle warnings