luci-proto-3g/ppp/pppossh: fix default keepalive values

Signed-off-by: Rany Hany <rany_hany@riseup.net>
pull/7271/head
Rany Hany 2024-08-30 18:48:47 +00:00 committed by Paul Donald
parent 929c520def
commit 02b58b8f06
6 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;