summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2024-01-07 05:12:08 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2024-01-07 05:12:08 +0000
commit23f34184d60b393579a4de20f03da7befc6ceafc (patch)
tree4141c4985f23746f0d0d82273967007deee80489
parent74c1f4730b548c3499e59ac0c2f2aadfcd7727c5 (diff)
ip/ppp: increase echo timeout to 5 periods (25 seconds)
I get every hour a delay of the echo replies for as long as 20 seconds causing reconnects. It does recover however and sends all the replies eventually.
-rw-r--r--sys/src/cmd/ip/ppp/ppp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/ppp/ppp.h b/sys/src/cmd/ip/ppp/ppp.h
index 8ea2bf4fd..a0408a2bf 100644
--- a/sys/src/cmd/ip/ppp/ppp.h
+++ b/sys/src/cmd/ip/ppp/ppp.h
@@ -172,7 +172,7 @@ enum {
Period= 5*1000, /* period of retransmit process (in ms) */
Timeout= 20, /* xmit timeout (in Periods) */
- Echotimeout= 2, /* echo timeout (in Periods) */
+ Echotimeout= 5, /* echo timeout (in Periods) */
Buflen= 4096,
MAX_STATES= 16, /* van jacobson compression states */