]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/cbcp.c
New options system with priorities for option values, with options
[ppp.git] / pppd / cbcp.c
index 6b68228d0b86b0b8528386d2722541d7dca4c380..e48aa4637d72c3a2cafdcc6ec06f558ba71fe5f7 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.11 2001/03/08 05:11:10 paulus 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 }
 };