From 28cf5cd576a7d502bcbfc55c1418dd116f2210e0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 4 May 2020 21:29:01 +0200 Subject: [PATCH] luci-base: firewall.js: fix Zone.addRule() Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/firewall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2