Merge pull request #93 from adulau/revert-88-raw-ip

Revert "base: add support for "raw ip" captures"
This commit is contained in:
Alexandre Dulaunoy 2023-09-13 06:32:03 +02:00 committed by GitHub
commit ec887fb6c3
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) {
case DLT_RAW:
type = ETHERTYPE_IP;
break;
#ifdef DLT_LOOP
case DLT_LOOP:
#endif