From 59431998d74888fed258866076b8f55110f860cd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 12 Oct 2019 12:47:08 +0200 Subject: tcpdump/libpcap: update --- package/libpcap/patches/patch-gencode_c | 40 --------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 package/libpcap/patches/patch-gencode_c (limited to 'package/libpcap/patches/patch-gencode_c') diff --git a/package/libpcap/patches/patch-gencode_c b/package/libpcap/patches/patch-gencode_c deleted file mode 100644 index 63378e414..000000000 --- a/package/libpcap/patches/patch-gencode_c +++ /dev/null @@ -1,40 +0,0 @@ ---- libpcap-1.8.0.orig/gencode.c 2016-07-30 15:42:44.000000000 +0200 -+++ libpcap-1.8.0/gencode.c 2016-08-05 02:35:50.655555060 +0200 -@@ -523,7 +523,7 @@ static struct block *gen_host6(compiler_ - struct in6_addr *, int, int, int); - #endif - #ifndef INET6 --static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int); -+static struct block *gen_gateway(compiler_state_t *, const u_char *, bpf_u_int32 **, int, int); - #endif - static struct block *gen_ipfrag(compiler_state_t *); - static struct block *gen_portatom(compiler_state_t *, int, bpf_int32); -@@ -690,7 +690,9 @@ pcap_compile(pcap_t *p, struct bpf_progr - } - initchunks(&cstate); - cstate.no_optimize = 0; -+#ifdef INET6 - cstate.ai = NULL; -+#endif - cstate.ic.root = NULL; - cstate.ic.cur_mark = 0; - cstate.bpf_pcap = p; -@@ -4846,7 +4848,8 @@ gen_host6(compiler_state_t *cstate, stru - - #ifndef INET6 - static struct block * --gen_gateway(eaddr, alist, proto, dir) -+gen_gateway(cstate, eaddr, alist, proto, dir) -+ compiler_state_t *cstate; - const u_char *eaddr; - bpf_u_int32 **alist; - int proto; -@@ -6414,7 +6417,7 @@ gen_scode(compiler_state_t *cstate, cons - alist = pcap_nametoaddr(name); - if (alist == NULL || *alist == NULL) - bpf_error(cstate, "unknown host '%s'", name); -- b = gen_gateway(eaddr, alist, proto, dir); -+ b = gen_gateway(cstate, eaddr, alist, proto, dir); - free(eaddr); - return b; - #else -- cgit v1.2.3