From: Jo-Philipp Wich Date: Mon, 4 May 2020 19:29:01 +0000 (+0200) Subject: luci-base: firewall.js: fix Zone.addRule() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28cf5cd576a7d502bcbfc55c1418dd116f2210e0;p=project%2Fluci.git luci-base: firewall.js: fix Zone.addRule() Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/htdocs/luci-static/resources/firewall.js b/modules/luci-base/htdocs/luci-static/resources/firewall.js index 40a0354446..f7b731e6fc 100644 --- a/modules/luci-base/htdocs/luci-static/resources/firewall.js +++ b/modules/luci-base/htdocs/luci-static/resources/firewall.js @@ -493,7 +493,7 @@ Zone = AbstractFirewallItem.extend({ uci.set('firewall', sid, 'src', this.getName()); - return new Redirect(sid); + return new Rule(sid); }, getColor: function(forName) {