diff options
author | Vladislav Grigoryev <20725816+vgaetera@users.noreply.github.com> | 2023-12-05 00:26:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 22:26:01 +0100 |
commit | 85ad07c59ee3ab82ac5b55732201d17e6cc3ab9c (patch) | |
tree | ec839da8646c44c24e6f5cbd8148fcba3f9a53d2 /protocols/luci-proto-sstp/htdocs/luci-static/resources | |
parent | 28f805b2e5f95e04515bd7d045a103cc3a366c2c (diff) |
luci-proto-sstp: add support for custom port (#6634)
Add support for connecting to a custom SSTP port.
See also: https://github.com/openwrt/packages/pull/22405
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'protocols/luci-proto-sstp/htdocs/luci-static/resources')
-rw-r--r-- | protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js b/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js index 6a23407b50..f58f553c36 100644 --- a/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js +++ b/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js @@ -41,6 +41,10 @@ return network.registerProtocol('sstp', { o = s.taboption('general', form.Value, 'server', _('SSTP Server')); o.datatype = 'host'; + o = s.taboption('general', form.Value, 'port', _('SSTP Port')); + o.placeholder = '443'; + o.datatype = 'port'; + o = s.taboption('general', form.Value, 'username', _('PAP/CHAP username')); o = s.taboption('general', form.Value, 'password', _('PAP/CHAP password')); |