From 3808693b97d4da638f6bd60fc0a4c44bf48985e9 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 13 Sep 2023 06:31:37 +0200 Subject: [PATCH] Revert "base: add support for "raw ip" captures" --- base/pcap-snoop.c.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/pcap-snoop.c.in b/base/pcap-snoop.c.in index 76b9908..6f2d75e 100644 --- a/base/pcap-snoop.c.in +++ b/base/pcap-snoop.c.in @@ -205,8 +205,6 @@ void pcap_cb(u_char *ptr, const struct pcap_pkthdr *hdr, const u_char *data) { switch(pcap_if_type) { case DLT_RAW: - type = ETHERTYPE_IP; - break; #ifdef DLT_LOOP case DLT_LOOP: #endif