summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xshared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xshared.c b/xshared.c
index b47beb1e..c5a9015d 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;
}