diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2019-11-11 15:17:23 +1100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-12 22:31:15 +0100 |
commit | e01e4fe5ac1acab58a4c0f53a66f6f1e88aea022 (patch) | |
tree | d4f1294e5f4d2634b0b9a635bc49e93d25783f1d /src/Makefile.am | |
parent | 8a4316f31fe874cc6fa9685b0d133df4d14753f0 (diff) |
src: Make sure pktb_alloc() works for AF_INET6 since we document that it does
Without this patch, AF_INET6 pktb_alloc() creates a pktb with NULL
network_header. But in src/extra/ipv6.c, nfq_ip6_get_hdr() assumes that
pktb->network_header is valid.
Updated:
src/extra/pktbuff.c: Treat AF_INET6 the same as AF_INET.
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions