From 5abef1380ef5c4271aa1d26339306dccf04c9ab2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 16 Dec 2009 22:58:19 +0000 Subject: contrib/fwd: reset invert flag after running xt parse handler --- contrib/fwd/src/fwd_xtables.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/fwd/src') diff --git a/contrib/fwd/src/fwd_xtables.c b/contrib/fwd/src/fwd_xtables.c index dc9fab11a6..6f569fd27a 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; } } -- cgit v1.2.3