projects
/
project
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5aaf3
)
Fix rules for custom filter chains
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 21 May 2013 14:44:47 +0000
(16:44 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 21 May 2013 14:44:47 +0000
(16:44 +0200)
defaults.c
patch
|
blob
|
history
diff --git
a/defaults.c
b/defaults.c
index
d1c5e2c
..
c025359
100644
(file)
--- a/
defaults.c
+++ b/
defaults.c
@@
-243,7
+243,7
@@
fw3_print_default_head_rules(struct fw3_ipt_handle *handle,
{
r = fw3_ipt_rule_new(handle);
fw3_ipt_rule_comment(r, "user chain for %s", chains[i+1]);
- fw3_ipt_rule_target(r, chains[i+1]);
+ fw3_ipt_rule_target(r,
"%s_rule",
chains[i+1]);
fw3_ipt_rule_append(r, chains[i]);
}
}