PR/3819: enami tsugutomo: pppd; netmask option doesn't actually set netmask
This commit is contained in:
parent
d00173ae5a
commit
5d5c4ad42a
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: options.c,v 1.17 1997/05/17 22:14:24 christos Exp $ */
|
/* $NetBSD: options.c,v 1.18 1997/07/01 19:28:01 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* options.c - handles option processing for PPP.
|
* options.c - handles option processing for PPP.
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
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.38 1997/04/30 05:55:54 paulus Exp ";
|
||||||
#else
|
#else
|
||||||
static char rcsid[] = "$NetBSD: options.c,v 1.17 1997/05/17 22:14:24 christos Exp $";
|
static char rcsid[] = "$NetBSD: options.c,v 1.18 1997/07/01 19:28:01 christos Exp $";
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1835,6 +1835,7 @@ setnetmask(argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
netmask = mask;
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue