]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/cbcp.c
sync constant and attributes names with
[ppp.git] / pppd / cbcp.c
index 6b68228d0b86b0b8528386d2722541d7dca4c380..439d7edca1e522841e978004acaed5590fd42d52 100644 (file)
@@ -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 <stdio.h>
 #include <string.h>
@@ -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;
     }
 }