libpcap: update to 1.20.2
[openwrt/staging/wigyori.git] / package / libs / libpcap / patches / 201-space_optimization.patch
diff --git a/package/libs/libpcap/patches/201-space_optimization.patch b/package/libs/libpcap/patches/201-space_optimization.patch
deleted file mode 100644 (file)
index bf9374d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/pcap-common.c
-+++ b/pcap-common.c
-@@ -1662,14 +1662,23 @@ swap_pseudo_headers(int linktype, struct
-               break;
-       case DLT_USB_LINUX:
-+#ifndef PCAP_SUPPORT_USB
-+              return;
-+#endif
-               swap_linux_usb_header(hdr, data, 0);
-               break;
-       case DLT_USB_LINUX_MMAPPED:
-+#ifndef PCAP_SUPPORT_USB
-+              return;
-+#endif
-               swap_linux_usb_header(hdr, data, 1);
-               break;
-       case DLT_NFLOG:
-+#ifndef PCAP_SUPPORT_NETFILTER
-+              return;
-+#endif
-               swap_nflog_header(hdr, data);
-               break;
-       }