]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ccp.c
Fixed incorrect order of args in option list (Frank Cusack)
[ppp.git] / pppd / ccp.c
index ab1c5bd10bad1f82ce44d3bea833c924627f8fa1..6cbdafd12e7b0385ef5b1d5d2de245c7193e4412 100644 (file)
@@ -25,7 +25,7 @@
  * OR MODIFICATIONS.
  */
 
  * OR MODIFICATIONS.
  */
 
-#define RCSID  "$Id: ccp.c,v 1.32 2001/03/08 05:11:11 paulus Exp $"
+#define RCSID  "$Id: ccp.c,v 1.33 2002/03/06 15:00:30 dfs Exp $"
 
 #include <stdlib.h>
 #include <string.h>
 
 #include <stdlib.h>
 #include <string.h>
@@ -85,7 +85,7 @@ static option_t ccp_option_list[] = {
       &ccp_allowoptions[0].deflate_draft },
 
     { "predictor1", o_bool, &ccp_wantoptions[0].predictor_1,
       &ccp_allowoptions[0].deflate_draft },
 
     { "predictor1", o_bool, &ccp_wantoptions[0].predictor_1,
-      "request Predictor-1", 1, &ccp_allowoptions[0].predictor_1, OPT_PRIO },
+      "request Predictor-1", OPT_PRIO | 1 },
     { "nopredictor1", o_bool, &ccp_wantoptions[0].predictor_1,
       "don't allow Predictor-1", OPT_PRIOSUB | OPT_A2CLR,
       &ccp_allowoptions[0].predictor_1 },
     { "nopredictor1", o_bool, &ccp_wantoptions[0].predictor_1,
       "don't allow Predictor-1", OPT_PRIOSUB | OPT_A2CLR,
       &ccp_allowoptions[0].predictor_1 },