Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-09-14 20:21:42 +0300
committerGitHub <noreply@github.com>2022-09-14 20:21:42 +0300
commit20ae64edec9797561c8aa61d7e4ce1a39de0b18a (patch)
tree33f085634f4931da6c588a918b19c73f13f70c85 /protocols
parent5fcf2375caf3edf6e03ce052321f0dba5c1cba54 (diff)
parent1f25483953dc20e2d8521a1b8f9528420b5b817a (diff)
Merge pull request #5968 from db260179/master
luci-proto-openconnect: Add options proxy server and reconnect timeout
Diffstat (limited to 'protocols')
-rw-r--r--protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
index 2c29614aee..91ad65cb34 100644
--- a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
+++ b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
@@ -116,6 +116,9 @@ return network.registerProtocol('openconnect', {
o = s.taboption('general', form.Value, 'password2', _('Password2'));
o.password = true;
+
+ o = s.taboption('general', form.Value, 'proxy', _('Proxy Server'));
+ o.optional = true;
o = s.taboption('general', form.TextValue, 'usercert', _('User certificate (PEM encoded)'));
o.rows = 10;
@@ -157,5 +160,10 @@ return network.registerProtocol('openconnect', {
o.optional = true;
o.placeholder = 1406;
o.datatype = 'range(68, 9200)';
+
+ o = s.taboption('advanced', form.Value, 'reconnect_timeout', _('Reconnect Timeout'));
+ o.optional = true;
+ o.placeholder = 300;
+ o.datatype = 'min(10)';
}
});