summaryrefslogtreecommitdiffstats
path: root/xshared.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-05-11 13:43:04 +0200
committerPatrick McHardy <kaber@trash.net>2011-05-11 13:43:04 +0200
commit77b6230adfe51836ad5b31b41638b43e9b0062e2 (patch)
tree55320e24418910d86adefc4eeb8d8e1de0e1a25b /xshared.c
parentc29f7ef7cb5a31620060ef721d3c65b343eb537a (diff)
parent58e9118dc61c9ff656c0140c429f0fa892c36ac5 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'xshared.c')
-rw-r--r--xshared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xshared.c b/xshared.c
index 404a9f5f..87402b42 100644
--- a/xshared.c
+++ b/xshared.c
@@ -92,7 +92,7 @@ static bool should_load_proto(struct iptables_command_state *cs)
if (find_proto(cs->protocol, XTF_DONT_LOAD,
cs->options & OPT_NUMERIC, NULL) == NULL)
return true;
- return cs->proto_used;
+ return !cs->proto_used;
}
struct xtables_match *load_proto(struct iptables_command_state *cs)