diff options
author | Rany Hany <rany_hany@riseup.net> | 2024-08-30 18:48:47 +0000 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-09-06 01:28:02 +0200 |
commit | 02b58b8f0672ff6f83690d2230f10911660ad717 (patch) | |
tree | 9f7d8410cf7fedc66356a0240e8ae892c6afa121 /protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol | |
parent | 929c520def5dd1393f831befac1bf9dee9f9d796 (diff) |
luci-proto-3g/ppp/pppossh: fix default keepalive values
Signed-off-by: Rany Hany <rany_hany@riseup.net>
Diffstat (limited to 'protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol')
-rw-r--r-- | protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js b/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js index 52cf481a5e..343a56b3ec 100644 --- a/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js +++ b/protocols/luci-proto-pppossh/htdocs/luci-static/resources/protocol/pppossh.js @@ -96,7 +96,7 @@ return network.registerProtocol('pppossh', { } o = s.taboption('advanced', form.Value, '_keepalive_failure', _('LCP echo failure threshold'), _('Presume peer to be dead after given amount of LCP echo failures, use 0 to ignore failures')); - o.placeholder = '0'; + o.placeholder = '5'; o.datatype = 'uinteger'; o.write = write_keepalive; o.remove = write_keepalive; @@ -109,7 +109,7 @@ return network.registerProtocol('pppossh', { }; o = s.taboption('advanced', form.Value, '_keepalive_interval', _('LCP echo interval'), _('Send LCP echo requests at the given interval in seconds, only effective in conjunction with failure threshold')); - o.placeholder = '5'; + o.placeholder = '1'; o.datatype = 'min(1)'; o.write = write_keepalive; o.remove = write_keepalive; |