summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorRany Hany <rany_hany@riseup.net>2024-08-30 18:48:47 +0000
committerPaul Donald <newtwen+github@gmail.com>2024-09-06 01:28:02 +0200
commit02b58b8f0672ff6f83690d2230f10911660ad717 (patch)
tree9f7d8410cf7fedc66356a0240e8ae892c6afa121 /protocols/luci-proto-ppp/htdocs/luci-static/resources
parent929c520def5dd1393f831befac1bf9dee9f9d796 (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-ppp/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js4
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoa.js4
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js4
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js4
4 files changed, 8 insertions, 8 deletions
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 d97d4bc29b..4bd88be5bb 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 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;
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;
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 a8d344fbe5..d8fd67166a 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;