macOS: PCAP: Fix typo

pull/49/head
Paul Hollinsky 2021-07-05 23:54:15 -04:00
parent 02c14aeb35
commit 0c67cdf078
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