contrib/fwd: reset invert flag after running xt parse handler
This commit is contained in:
parent
0f791a7fb6
commit
5abef1380e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue