macOS: PCAP: Fix typo

v0.3.0-dev
Paul Hollinsky 2021-07-05 23:54:15 -04:00
parent bb65e37841
commit 16b88b7787
1 changed files with 1 additions and 1 deletions

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