X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcbcp.c;h=34ba6f756a4a2319ee7c15d649d214cc86dc88cf;hb=8592783058509b5493a42f3b0432fcbaab55c994;hp=64472f5c29bf0d096e5c58a3c26ccc8c19857071;hpb=1e7bc3ea35208555bf233daacee9d85ded13f999;p=ppp.git diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 64472f5..34ba6f7 100644 --- a/pppd/cbcp.c +++ b/pppd/cbcp.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: cbcp.c,v 1.6 1999/03/16 22:54:38 paulus Exp $"; +static char rcsid[] = "$Id: cbcp.c,v 1.7 1999/05/12 06:19:46 paulus Exp $"; #endif #include @@ -439,6 +439,8 @@ cbcp_recvack(us, pckt, len) if (address[0]) dbglog("peer will call: %s", address); } + if (type == CB_CONF_NO) + return; } cbcp_up(us); @@ -451,4 +453,5 @@ cbcp_up(us) { persist = 0; lcp_close(0, "Call me back, please"); + status = EXIT_CALLBACK; }