projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/fwd: reset invert flag after running xt parse handler
[project/luci.git]
/
contrib
/
fwd
/
src
/
fwd_xtables.c
diff --git
a/contrib/fwd/src/fwd_xtables.c
b/contrib/fwd/src/fwd_xtables.c
index dc9fab11a64828546948530f8bbe666fb73de435..6f569fd27ab9333f12c934cb1548dd73f59c6b82 100644
(file)
--- 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;
}
}