From ad4b5c2caac052093a610af01b475445bb0c13da Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 7 Apr 1998 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1998-04-07 --- ip/il.c | 2 +- port/auth.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ip/il.c b/ip/il.c index 11b7ae73f21c88914e0e0e64dab85c2a01615f35..64d1d96bb1a8f1d47a8c0d81fa2fedab78986c84 100644 --- a/ip/il.c +++ b/ip/il.c @@ -201,7 +201,7 @@ ilstate(Conv *c, char *state, int n) Ilcb *ic; ic = (Ilcb*)(c->ptcl); - return snprint(state, n, "%14.14s del %5.5d Br %5.5d md %5.5d una %5.5d rex %5.5d max %5.5d", + return snprint(state, n, "%s del %5.5d Br %5.5d md %5.5d una %5.5d rex %5.5d max %5.5d", ilstates[ic->state], ic->delay>>LogAGain, ic->rate>>LogAGain, ic->mdev>>LogDGain, ic->unackeduchars, ic->rexmit, ic->maxrtt); diff --git a/port/auth.c b/port/auth.c index 6104ced02631360bd4107185a6e48041984206bd..9fab8c2361b37af6387b70fa51c7965bbcc36e7a 100644 --- a/port/auth.c +++ b/port/auth.c @@ -479,7 +479,7 @@ authcheck(Chan *c, char *a, int n) /* * reading authcheck after writing into it yields the - * nonce key + * unencrypted ticket */ long authcheckread(Chan *c, char *a, int n) @@ -528,6 +528,10 @@ authentwrite(Chan *c, char *a, int n) return n; } +/* + * create an authenticator and return it and optionally the + * unencripted ticket + */ long authentread(Chan *c, char *a, int n) {