diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-04 21:29:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-05-04 21:29:01 +0200 |
commit | 28cf5cd576a7d502bcbfc55c1418dd116f2210e0 (patch) | |
tree | 0fa31697c128d6d30300b1201189287aa659a5c5 /modules/luci-base/htdocs/luci-static/resources/firewall.js | |
parent | cfb7051a1698b8fee2a131c2ea4de09bb57b51e8 (diff) |
luci-base: firewall.js: fix Zone.addRule()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/firewall.js')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/firewall.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |