From 62901cb3fd10d66c4975c859caf99ccd124af7ac Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 15 Jul 2024 18:44:00 +0200 Subject: [PATCH] revert https://github.com/ZerBea/hcxtools/pull/339 --- hcxpcapngtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcxpcapngtool.c b/hcxpcapngtool.c index 76128dd6..c2af1e12 100644 --- a/hcxpcapngtool.c +++ b/hcxpcapngtool.c @@ -5690,7 +5690,7 @@ if(testgzipfile(pcapinname) == true) } #endif jtrbasenamedeprecated = pcapinname; -fd_pcap = open(pcapnameptr, O_RDONLY | O_BINARY); +fd_pcap = open(pcapnameptr, O_RDONLY); if(fd_pcap == -1) { perror("failed to open file");