1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add keep alive support to Shadowsocks-Rust init and interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-10-09 11:08:54 +02:00
parent ef3eaf6ed1
commit 43107110a5
4 changed files with 19 additions and 2 deletions

View file

@ -28,6 +28,7 @@ var names_options_common = [
'mode',
'mtu',
'timeout',
'keep_alive',
'user',
'mptcp',
];
@ -157,6 +158,8 @@ return L.Class.extend({
o.datatype = 'uinteger';
o = s.taboption(tab, form.Value, 'timeout', _('Timeout (sec)'));
o.datatype = 'uinteger';
o = s.taboption(tab, form.Value, 'keep_alive', _('Keep Alive (sec)'));
o.datatype = 'uinteger';
s.taboption(tab, form.Value, 'user', _('Run as'));
s.taboption(tab, form.Flag, 'verbose', _('Verbose'));