X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcbcp.c;h=439d7edca1e522841e978004acaed5590fd42d52;hb=c2134507ca4699d192d79337a8fd2e947803dad9;hp=34ba6f756a4a2319ee7c15d649d214cc86dc88cf;hpb=8592783058509b5493a42f3b0432fcbaab55c994;p=ppp.git diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 34ba6f7..439d7ed 100644 --- a/pppd/cbcp.c +++ b/pppd/cbcp.c @@ -18,9 +18,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char rcsid[] = "$Id: cbcp.c,v 1.7 1999/05/12 06:19:46 paulus Exp $"; -#endif +#define RCSID "$Id: cbcp.c,v 1.12 2002/05/21 17:26:49 dfs Exp $" #include #include @@ -31,7 +29,8 @@ static char rcsid[] = "$Id: cbcp.c,v 1.7 1999/05/12 06:19:46 paulus Exp $"; #include "cbcp.h" #include "fsm.h" #include "lcp.h" -#include "ipcp.h" + +static const char rcsid[] = RCSID; /* * Options. @@ -40,7 +39,7 @@ static int setcbcp __P((char **)); static option_t cbcp_option_list[] = { { "callback", o_special, setcbcp, - "Ask for callback" }, + "Ask for callback", OPT_PRIO | OPT_A2STRVAL, &cbcp[0].us_number }, { NULL } }; @@ -384,7 +383,7 @@ cbcp_resp(us) PUTCHAR(len , bufp); PUTCHAR(0, bufp); cbcp_send(us, CBCP_RESP, buf, len); - (*ipcp_protent.open)(us->us_unit); + start_networks(us->us_unit); return; } }