mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 13:26:20 +04:00
luci-base: firewall.js: fix Zone.addRule()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user