From 81b74c3f6300b0c88eea77f38f8d873cda4c9064 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Sat, 14 Aug 1993 21:00:25 -0800 Subject: [PATCH] fix parameter missmatch (for SPARC) SCCS-vsn: sbin/routed/inet.c 8.2 --- usr/src/sbin/routed/inet.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/src/sbin/routed/inet.c b/usr/src/sbin/routed/inet.c index cf20f50d21..0f3bafa644 100644 --- a/usr/src/sbin/routed/inet.c +++ b/usr/src/sbin/routed/inet.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)inet.c 8.1 (Berkeley) %G%"; +static char sccsid[] = "@(#)inet.c 8.2 (Berkeley) %G%"; #endif /* not lint */ /* @@ -105,10 +105,10 @@ inet_lnaof(in) /* * Return the netmask pertaining to an internet address. */ -inet_maskof(in) - struct in_addr in; +inet_maskof(inaddr) + u_long inaddr; { - register u_long i = ntohl(in.s_addr); + register u_long i = ntohl(inaddr); register u_long mask; register struct interface *ifp; -- 2.20.1