]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
fix up MD4 stuff - interface is better now
[ppp.git] / pppd / options.c
index db132afd07091ec258d08f7e2c86fd8a930ea883..d8c39837381e977449d7aca007bd3f354d0badb1 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: options.c,v 1.38 1997/04/30 05:55:54 paulus Exp $";
+static char rcsid[] = "$Id: options.c,v 1.40 1997/11/27 06:09:34 paulus Exp $";
 #endif
 
 #include <ctype.h>
@@ -159,7 +159,7 @@ static int setescape __P((char **));
 static int setmru __P((char **));
 static int setmtu __P((char **));
 #ifdef CBCP_SUPPORT
-static int setcbcp __P((char *));
+static int setcbcp __P((char **));
 #endif
 static int nomru __P((char **));
 static int nopcomp __P((char **));
@@ -250,7 +250,7 @@ static int setipxcpfails __P((char **));
 #endif /* IPX_CHANGE */
 
 #ifdef MSLANMAN
-static int setmslanman __P((void));
+static int setmslanman __P((char **));
 #endif
 
 static int number_option __P((char *, u_int32_t *, int));
@@ -1829,6 +1829,7 @@ setnetmask(argv)
        return 0;
     }
 
+    netmask = mask;
     return (1);
 }
 
@@ -2543,7 +2544,8 @@ resetipxproto(argv)
 
 #ifdef MSLANMAN
 static int
-setmslanman()
+setmslanman(argv)
+    char **argv;
 {
     ms_lanman = 1;
     return (1);