projects
/
oweals
/
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 d1c5e2c059e8d2e863ff0c2b074cc323d1a784f2..c02535906c2d6450567087c6d571b5c70f672888 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]);
}
}