summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js')
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js4
1 files changed, 2 insertions, 2 deletions
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 79562994cf..0a5dc95788 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;