X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcbcp.c;h=439d7edca1e522841e978004acaed5590fd42d52;hb=c2134507ca4699d192d79337a8fd2e947803dad9;hp=73cbcf02355110341840ee11c6ae35c9260f1b10;hpb=875d9641d05b4fcb7e186f784c801962bb2670e5;p=ppp.git diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 73cbcf0..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 const char rcsid[] = "$Id: cbcp.c,v 1.9 1999/08/12 04:25:19 paulus Exp $"; -#endif +#define RCSID "$Id: cbcp.c,v 1.12 2002/05/21 17:26:49 dfs Exp $" #include #include @@ -32,6 +30,8 @@ static const char rcsid[] = "$Id: cbcp.c,v 1.9 1999/08/12 04:25:19 paulus Exp $" #include "fsm.h" #include "lcp.h" +static const char rcsid[] = RCSID; + /* * Options. */ @@ -39,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 } }; @@ -383,7 +383,7 @@ cbcp_resp(us) PUTCHAR(len , bufp); PUTCHAR(0, bufp); cbcp_send(us, CBCP_RESP, buf, len); - start_networks(); + start_networks(us->us_unit); return; } }