mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 18:41:15 +08:00
Update luci-app-upnp.patch
This commit is contained in:
parent
d02c3e6674
commit
e30daa4440
7
.github/diy/patches/luci-app-upnp.patch
vendored
7
.github/diy/patches/luci-app-upnp.patch
vendored
@ -253,7 +253,7 @@ index 955e1c45f5f8..494172864e35 100644
|
||||
o.rmempty = false;
|
||||
|
||||
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.rmempty = false;
|
||||
o.depends('enable_upnp', '1');
|
||||
@ -287,7 +287,10 @@ index 955e1c45f5f8..494172864e35 100644
|
||||
+ o.depends('use_stun', '1');
|
||||
+ 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'));
|
||||
o.default = '1';
|
||||
o.depends('enable_upnp', '1');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user