From bb19cb048ac902674a14ee602b5fcc852de61779 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 (cherry picked from commit 28cf5cd576a7d502bcbfc55c1418dd116f2210e0) --- 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 40a035444..f7b731e6f 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.25.1