Revisiting the original condition (viewable in git log -1 -p v1.4.10-57-gacef604), one can notice an unforuntate inversion. This commit corrects this. Testcase: -A INPUT -p tcp --dport 1 Reported-by: Florian Westphal Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- xshared.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xshared.c b/xshared.c index b47beb1..c5a9015 100644 --- a/xshared.c +++ b/xshared.c @@ -87,7 +87,7 @@ static bool should_load_proto(struct iptables_command_state *cs) if (cs->protocol == NULL) return false; if (find_proto(cs->protocol, XTF_DONT_LOAD, - cs->options & OPT_NUMERIC, NULL) != NULL) + cs->options & OPT_NUMERIC, NULL) == NULL) return true; return cs->proto_used; } -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html