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