Revert "base: add support for "raw ip" captures"

This commit is contained in:
Alexandre Dulaunoy 2023-09-13 06:31:37 +02:00 committed by GitHub
parent 52454c7f4c
commit 3808693b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,8 +205,6 @@ void pcap_cb(u_char *ptr, const struct pcap_pkthdr *hdr, const u_char *data) {
switch(pcap_if_type) { switch(pcap_if_type) {
case DLT_RAW: case DLT_RAW:
type = ETHERTYPE_IP;
break;
#ifdef DLT_LOOP #ifdef DLT_LOOP
case DLT_LOOP: case DLT_LOOP:
#endif #endif