From 61b46f7ed869200fc57bf349179e0cb25240c766 Mon Sep 17 00:00:00 2001 From: Ian O'Rourke Date: Tue, 21 Oct 2025 20:37:01 -0500 Subject: [PATCH] Update header network limit to 301 per http://www.tcpdump.org/linktypes.html --- pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcap.c b/pcap.c index e5d5a3f..25ba248 100644 --- a/pcap.c +++ b/pcap.c @@ -305,7 +305,7 @@ int fix_pcap(FILE *pcap, FILE *pcap_fix) { } /* check for data link type (http://www.tcpdump.org/linktypes.html) */ - if (conint(global_hdr.network) <= 251) { /* data link types are <= 251 */ + if (conint(global_hdr.network) <= 301) { /* data link types are <= 301 */ if (verbose) printf("[+] Data link type: %u\n", conint(global_hdr.network)); } else { hdr_integ++;