mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 00:55:13 +08:00
Update luci-app-firewall.patch
This commit is contained in:
1 parent
efe91d0fd9
commit
f70a5d40a5
1 file changed
+2
-5
@@ -12,11 +12,8 @@
|
||||
|
||||
--- a/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
|
||||
+++ b/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
|
||||
@@ -59,8 +59,46 @@ return view.extend({
|
||||
o = s.option(form.Flag, 'fullcone', _('Enable FullCone NAT'));
|
||||
if (fw4)
|
||||
o = s.option(form.Flag, 'fullcone6', _('Enable FullCone NAT6'));
|
||||
+ o.depends('fullcone', '1');
|
||||
@@ -78,6 +78,43 @@ return view.extend({
|
||||
addTCPCCAOption();
|
||||
}
|
||||
|
||||
+ o = s.option(form.Flag, 'expose_wan', _('Expose WAN'), _('Danger! Proceed at your own risk.'));
|
||||
|
||||
Reference in new issue
Block a user