From 0c67cdf07830fcc93173d48549afaef32ec9d65a Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Mon, 5 Jul 2021 23:54:15 -0400 Subject: [PATCH] macOS: PCAP: Fix typo --- platform/posix/pcap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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