summaryrefslogtreecommitdiffhomepage
path: root/contrib/fwd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-16 22:58:19 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-16 22:58:19 +0000
commit5abef1380ef5c4271aa1d26339306dccf04c9ab2 (patch)
tree388c0a0eaa80c61870e536da850b1a0a710c3e78 /contrib/fwd
parent0f791a7fb6a67cf30d91775e4ae768679e14d610 (diff)
contrib/fwd: reset invert flag after running xt parse handler
Diffstat (limited to 'contrib/fwd')
-rw-r--r--contrib/fwd/src/fwd_xtables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fwd/src/fwd_xtables.c b/contrib/fwd/src/fwd_xtables.c
index dc9fab11a..6f569fd27 100644
--- a/contrib/fwd/src/fwd_xtables.c
+++ b/contrib/fwd/src/fwd_xtables.c
@@ -229,6 +229,7 @@ void __fwd_xt_parse_match(
}
m->parse(optc, opts, inv, &m->mflags, r->entry, &m->m);
+ inv = 0;
}
}
@@ -303,6 +304,7 @@ void __fwd_xt_parse_target(
}
t->parse(optc, opts, inv, &t->tflags, r->entry, &t->t);
+ inv = 0;
}
}