From 02b58b8f0672ff6f83690d2230f10911660ad717 Mon Sep 17 00:00:00 2001 From: Rany Hany Date: Fri, 30 Aug 2024 18:48:47 +0000 Subject: luci-proto-3g/ppp/pppossh: fix default keepalive values Signed-off-by: Rany Hany --- .../luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js') diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js index 057e17fe81..0a891eb32e 100644 --- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js +++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js @@ -60,7 +60,7 @@ return network.registerProtocol('pppoe', { } 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; @@ -73,7 +73,7 @@ return network.registerProtocol('pppoe', { }; 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; -- cgit v1.2.3