From adebb512ad3b6ee0c6b038bea3606f2acd598466 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 14 Dec 1996 18:41:37 +0000 Subject: [PATCH] inane --- sbin/route/route.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/route/route.c b/sbin/route/route.c index 2b21b9cd2b4..918e80b962b 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.14 1996/12/14 17:36:33 deraadt Exp $ */ +/* $OpenBSD: route.c,v 1.15 1996/12/14 18:41:37 deraadt Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: route.c,v 1.14 1996/12/14 17:36:33 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: route.c,v 1.15 1996/12/14 18:41:37 deraadt Exp $"; #endif #endif /* not lint */ @@ -411,7 +411,7 @@ netname(sa) char *cp = NULL; static char line[MAXHOSTNAMELEN]; struct netent *np = 0; - u_int32_t net, mask; + long net, mask; int subnetshift; char *ns_print(); char *ipx_print(); @@ -443,7 +443,7 @@ netname(sa) * width subnet fields. */ while (in.s_addr &~ mask) - mask = (u_int32_t)mask >> subnetshift; + mask = mask >> subnetshift; net = in.s_addr & mask; while ((mask & 1) == 0) mask >>= 1, net >>= 1; -- 2.20.1