diff --git a/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js b/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js index a1c54984a60b..1d599dc822b6 100644 --- a/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js +++ b/protocols/luci-proto-3g/htdocs/luci-static/resources/protocol/3g.js @@ -128,7 +128,7 @@ return network.registerProtocol('3g', { o.datatype = 'min(1)'; 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; @@ -141,7 +141,7 @@ return network.registerProtocol('3g', { }; 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; diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js index d97d4bc29b65..4bd88be5bb27 100644 --- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js +++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js @@ -100,7 +100,7 @@ return network.registerProtocol('ppp', { } 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; @@ -113,7 +113,7 @@ return network.registerProtocol('ppp', { }; 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; diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js index 79562994cf72..0a5dc957882a 100644 --- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js +++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js @@ -86,7 +86,7 @@ return network.registerProtocol('pppoa', { } 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; @@ -99,7 +99,7 @@ return network.registerProtocol('pppoa', { }; 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; 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 057e17fe81b1..0a891eb32ecb 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; diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js index a8d344fbe568..d8fd67166a82 100644 --- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js +++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js @@ -73,7 +73,7 @@ return network.registerProtocol('pptp', { } 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; @@ -86,7 +86,7 @@ return network.registerProtocol('pptp', { }; 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; 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 52cf481a5e75..343a56b3ecc2 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;