From 50f06d79e6f4c457a68929df21d4c71b9d2dade1 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 2 Mar 1999 05:34:16 +0000 Subject: [PATCH 1/1] bug fix from Johan Widen --- pppd/cbcp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 9d56850..8add25f 100644 --- a/pppd/cbcp.c +++ b/pppd/cbcp.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: cbcp.c,v 1.3 1998/11/07 06:59:25 paulus Exp $"; +static char rcsid[] = "$Id: cbcp.c,v 1.4 1999/03/02 05:34:16 paulus Exp $"; #endif #include @@ -371,10 +371,9 @@ cbcp_resp(us) if (cb_type & ( 1 << CB_CONF_ADMIN ) ) { syslog(LOG_DEBUG, "cbcp_resp CONF_ADMIN"); PUTCHAR(CB_CONF_ADMIN, bufp); - len = 3 + 1; - PUTCHAR(len , bufp); + len = 3; + PUTCHAR(len, bufp); PUTCHAR(5, bufp); /* delay */ - PUTCHAR(0, bufp); cbcp_send(us, CBCP_RESP, buf, len); return; } -- 2.39.2