mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 02:15:13 +08:00
Update luci-app-upnp.patch
This commit is contained in:
1 parent
d02c3e6674
commit
e30daa4440
1 file changed
+5
-2
@@ -253,7 +253,7 @@ index 955e1c45f5f8..494172864e35 100644
|
|||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|
||||||
o = s.taboption('setup', form.Flag, 'enable_upnp', _('Enable UPnP IGD protocol'));
|
o = s.taboption('setup', form.Flag, 'enable_upnp', _('Enable UPnP IGD protocol'));
|
||||||
@@ -152,86 +163,104 @@ return view.extend({
|
@@ -152,89 +163,107 @@ return view.extend({
|
||||||
o.default = '1';
|
o.default = '1';
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
o.depends('enable_upnp', '1');
|
o.depends('enable_upnp', '1');
|
||||||
@@ -287,7 +287,10 @@ index 955e1c45f5f8..494172864e35 100644
|
|||||||
+ o.depends('use_stun', '1');
|
+ o.depends('use_stun', '1');
|
||||||
+ o.retain = true;
|
+ o.retain = true;
|
||||||
|
|
||||||
o = s.taboption('advanced', form.Flag, 'secure_mode', _('Enable secure mode'),
|
s.taboption('advanced', form.Flag, 'force_forwarding', _('Force forwarding'),
|
||||||
|
_('Force forwarding ports even the network is behind NAT'));
|
||||||
|
|
||||||
|
o = s.taboption('advanced', form.Flag, 'secure_mode', _('Enable secure mode'),
|
||||||
_('Allow adding port maps for requesting IP addresses only'));
|
_('Allow adding port maps for requesting IP addresses only'));
|
||||||
o.default = '1';
|
o.default = '1';
|
||||||
o.depends('enable_upnp', '1');
|
o.depends('enable_upnp', '1');
|
||||||
|
|||||||
Reference in new issue
Block a user