diff --git a/platform/posix/pcap.cpp b/platform/posix/pcap.cpp index bdd4cee..969b57a 100644 --- a/platform/posix/pcap.cpp +++ b/platform/posix/pcap.cpp @@ -105,7 +105,7 @@ std::vector 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