From 262712d80fe3049cf978503aa79a8b91485a1f28 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 12 Jun 2002 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2002-06-12 --- port/devbridge.c | 2 +- port/devsdp.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/port/devbridge.c b/port/devbridge.c index e95302c368a9c2e4f4cad81b5ec1f4bc49381874..100df4712741e9799b52de51fdde80bd1388c7ed 100644 --- a/port/devbridge.c +++ b/port/devbridge.c @@ -984,7 +984,7 @@ etherread(void *a) // release lock to read - error means it is time to quit qunlock(b); if(waserror()) { -print("etherread read error\n"); +print("etherread read error: %s\n", up->errstr); qlock(b); break; } diff --git a/port/devsdp.c b/port/devsdp.c index aa499eeb768be27e239873c6f685145baa2380a5..df4c84f309afdccbc35dd46b1daece93850636a8 100644 --- a/port/devsdp.c +++ b/port/devsdp.c @@ -40,9 +40,9 @@ enum MaxQ, Maxconv= 256, // power of 2 - Nfs= 4, // number of file systems + Nfs= 4, // number of file systems MaxRetries= 12, - KeepAlive = 120, // keep alive in seconds + KeepAlive = 60, // keep alive in seconds SecretLength= 32, // a secret per direction SeqMax = (1<<24), SeqWindow = 32, @@ -1422,7 +1422,7 @@ if(0)print("conviconnect: %s: %d %uld %uld\n", convstatename[c->state], subtype, } Reset: // invalid connection message - reset to sender -if(0)print("invalid conviconnect - sending reset\n"); +if(1)print("invalid conviconnect - sending reset\n"); convoconnect(c, ConReset, dialid, acceptid); convsetstate(c, CClosed); }