]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libxt_NFLOG: translate to nft log snaplen if nflog-size is specified
authorLiping Zhang <liping.zhang@spreadtrum.com>
Mon, 18 Jul 2016 14:14:28 +0000 (22:14 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Jul 2016 18:18:50 +0000 (20:18 +0200)
commitf280adca86dfb8ba4d5a3d5a309f9252cc02f2ca
tree40c76f4a7169d5622597bef52dfdad8c53313c9b
parent4bde4cc6721e460a1896bf4be2b44fb2ed05b240
extensions: libxt_NFLOG: translate to nft log snaplen if nflog-size is specified

The nflog-size was introduced by commit 7070b1f3c88a ("extensions:
libxt_NFLOG: nflog-range does not truncate packets"). Then make
the nflog-range become deprecated, because it has no effect from
the beginning.

So when we do translation, nft log snaplen is translated only if the
nflog-size is specified.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_NFLOG.c