From 5d5c4ad42a1eb49432b953fd617128b95bee1027 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 1 Jul 1997 19:28:01 +0000 Subject: [PATCH] PR/3819: enami tsugutomo: pppd; netmask option doesn't actually set netmask --- usr.sbin/pppd/pppd/options.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pppd/pppd/options.c b/usr.sbin/pppd/pppd/options.c index ab0462f1c229..233a6aa78623 100644 --- a/usr.sbin/pppd/pppd/options.c +++ b/usr.sbin/pppd/pppd/options.c @@ -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. @@ -23,7 +23,7 @@ #if 0 static char rcsid[] = "Id: options.c,v 1.38 1997/04/30 05:55:54 paulus Exp "; #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 @@ -1835,6 +1835,7 @@ setnetmask(argv) return 0; } + netmask = mask; return (1); }