projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change fw3_parse_options() to indicate whether all options where parsed successfully
[project/firewall3.git]
/
rules.c
diff --git
a/rules.c
b/rules.c
index
1a4473b
..
bd2a57c
100644
(file)
--- a/
rules.c
+++ b/
rules.c
@@
-286,7
+286,8
@@
static void set_target(struct fw3_ipt_rule *r, struct fw3_rule *rule)
return;
case FW3_FLAG_NOTRACK:
- fw3_ipt_rule_target(r, fw3_flag_names[rule->target]);
+ fw3_ipt_rule_target(r, "CT");
+ fw3_ipt_rule_addarg(r, false, "--notrack", NULL);
return;
case FW3_FLAG_ACCEPT: