From: Jo-Philipp Wich Date: Tue, 21 May 2013 14:44:47 +0000 (+0200) Subject: Fix rules for custom filter chains X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a7d923052fa3ca69a5f5453a872bc976fbb0f75a;p=oweals%2Ffirewall3.git Fix rules for custom filter chains --- diff --git a/defaults.c b/defaults.c index d1c5e2c..c025359 100644 --- 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]); } }