commit | cc37c1ad42ba6bc07c3d7a999f898e11d69a2580 | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Mon Jul 18 20:44:17 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Jul 21 02:32:34 2016 +0200 |
tree | 2dce1401291c22a14a982da0d46f7ce7ad91a8de | |
parent | 1bc4e0136cb32282d7968e11cfabc40763fdb03c [diff] |
netfilter: nft_log: fix snaplen does not truncate packets There's a similar problem in xt_NFLOG, and was fixed by commit 7643507fe8b5 ("netfilter: xt_NFLOG: nflog-range does not truncate packets"). Only set copy_len here does not work, so we should enable NF_LOG_F_COPY_LEN also. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>