From d1de5b3aba4bb773730b1d4420523c278e7561cb Mon Sep 17 00:00:00 2001 From: Frank Cusack Date: Fri, 17 Jan 2003 07:23:35 +0000 Subject: [PATCH] Don't include delay field when responding to CBCP req with "NoCallback". Bug noted by Radu Greab. --- pppd/cbcp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 394f9e4..1cd3912 100644 --- a/pppd/cbcp.c +++ b/pppd/cbcp.c @@ -33,7 +33,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: cbcp.c,v 1.14 2002/12/04 23:03:32 paulus Exp $" +#define RCSID "$Id: cbcp.c,v 1.15 2003/01/17 07:23:35 fcusack Exp $" #include #include @@ -394,9 +394,8 @@ cbcp_resp(us) if (cb_type & ( 1 << CB_CONF_NO ) ) { dbglog("cbcp_resp CONF_NO"); PUTCHAR(CB_CONF_NO, bufp); - len = 3; + len = 2; PUTCHAR(len , bufp); - PUTCHAR(0, bufp); cbcp_send(us, CBCP_RESP, buf, len); start_networks(us->us_unit); return; -- 2.39.5