summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2019-04-17 09:49:44 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-22 10:38:50 +0200
commitd48668052b2603b6262459625c86108c493588dd (patch)
treead48077fde3d364f2d5ea783330ca5b35d2a98e6 /tools
parent916f6efae62305796e012e7c3a7884a267cbacbf (diff)
downloadlinux-d48668052b2603b6262459625c86108c493588dd.tar.bz2
netfilter: fix nf_l4proto_log_invalid to log invalid packets
It doesn't log a packet if sysctl_log_invalid isn't equal to protonum OR sysctl_log_invalid isn't equal to IPPROTO_RAW. This sentence is always true. I believe we need to replace OR to AND. Cc: Florian Westphal <fw@strlen.de> Fixes: c4f3db1595827 ("netfilter: conntrack: add and use nf_l4proto_log_invalid") Signed-off-by: Andrei Vagin <avagin@gmail.com> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions