diff options
author | Zefir Kurtisi <zefir.kurtisi@neratec.com> | 2016-12-22 10:39:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-12-24 11:59:42 +0100 |
commit | 16725e2db0a4fbf72e05443049df3f0cfa2ad86b (patch) | |
tree | 82feddfae0d19e6238abcd6d5226fbc385329555 /package/libs/zlib | |
parent | ea9b71e5b1de8e40a7f92d10bfc1761a8955a2e8 (diff) | |
download | upstream-16725e2db0a4fbf72e05443049df3f0cfa2ad86b.tar.gz upstream-16725e2db0a4fbf72e05443049df3f0cfa2ad86b.tar.bz2 upstream-16725e2db0a4fbf72e05443049df3f0cfa2ad86b.zip |
libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled
Add patches provided upstream [1] by Fabio Berton to fix error:
> ./gencode.c: In function 'pcap_compile':
> ./gencode.c:693:8: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
> cstate.ai = NULL;
> ^
> ./gencode.c: In function 'gen_gateway':
> ./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
> bpf_error(cstate, "direction applied to 'gateway'");
> ^
[1] https://github.com/the-tcpdump-group/libpcap/pull/541
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Diffstat (limited to 'package/libs/zlib')
0 files changed, 0 insertions, 0 deletions