Skip to content

Commit

Permalink
luci-proto-sstp: add support for custom port (#6634)
Browse files Browse the repository at this point in the history
Add support for connecting to a custom SSTP port.
See also: openwrt/packages#22405

Signed-off-by: Vladislav Grigoryev <[email protected]>
  • Loading branch information
vgaetera authored Dec 4, 2023
1 parent 28f805b commit 85ad07c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 85ad07c

Please sign in to comment.