X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcbcp.c;h=439d7edca1e522841e978004acaed5590fd42d52;hb=fda3a821c1f0eda47ef53632f6a42084924b7167;hp=6b68228d0b86b0b8528386d2722541d7dca4c380;hpb=a3630de20e34796f434a728bfd9cf1a961380c82;p=ppp.git diff --git a/pppd/cbcp.c b/pppd/cbcp.c index 6b68228..439d7ed 100644 --- a/pppd/cbcp.c +++ b/pppd/cbcp.c @@ -18,7 +18,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: cbcp.c,v 1.10 1999/08/13 06:46:10 paulus Exp $" +#define RCSID "$Id: cbcp.c,v 1.12 2002/05/21 17:26:49 dfs Exp $" #include #include @@ -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; } }