From: Jo-Philipp Wich Date: Wed, 16 Dec 2009 22:58:19 +0000 (+0000) Subject: contrib/fwd: reset invert flag after running xt parse handler X-Git-Tag: 0.10.0~892 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5abef1380ef5c4271aa1d26339306dccf04c9ab2;p=oweals%2Fluci.git contrib/fwd: reset invert flag after running xt parse handler --- 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; } }