X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Foptions.c;h=d8c39837381e977449d7aca007bd3f354d0badb1;hp=db132afd07091ec258d08f7e2c86fd8a930ea883;hb=09032f7c09a5ead7d5cd14a61d17d1d495bf80f5;hpb=9ad11d4b9e99a8f338080897e30e62608e2bdbba diff --git a/pppd/options.c b/pppd/options.c index db132af..d8c3983 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -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 @@ -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);