From 38b41c900588b839c0575d840fa1d4feb445ab0f Mon Sep 17 00:00:00 2001 From: kai Date: Tue, 8 Feb 2000 16:24:55 +0000 Subject: [PATCH] CBCP with negotiation of callback number works now (at least for some people) --- ipppd/cbcp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ipppd/cbcp.c b/ipppd/cbcp.c index 17ffdc28..f2e24480 100644 --- a/ipppd/cbcp.c +++ b/ipppd/cbcp.c @@ -42,7 +42,7 @@ in the developr/rfc directory. #define PPP_CBCP 0xc029 /* Callback Control Protocol */ -char cbcp_rcsid[] = "$Id: cbcp.c,v 1.5 1998/03/08 13:01:30 hipp Exp $"; +char cbcp_rcsid[] = "$Id: cbcp.c,v 1.6 2000/02/08 16:24:55 kai Exp $"; #include #include @@ -350,9 +350,7 @@ void cbcp_resp(cbcp_state *us) PUTCHAR(len , bufp); PUTCHAR(5, bufp); /* delay */ PUTCHAR(1, bufp); -#if 0 - BCOPY(strlen(cbcp->message), bufp, strlen(cbcp->message) + 1); -#endif + BCOPY(cbcp->message, bufp, strlen(cbcp->message) + 1); cbcp_send(us, CBCP_RESP, buf, len); return; }