fix parameter missmatch (for SPARC)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 15 Aug 1993 05:00:25 +0000 (21:00 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 15 Aug 1993 05:00:25 +0000 (21:00 -0800)
SCCS-vsn: sbin/routed/inet.c 8.2

usr/src/sbin/routed/inet.c

index cf20f50..0f3bafa 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)inet.c     8.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)inet.c     8.2 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -105,10 +105,10 @@ inet_lnaof(in)
 /*
  * Return the netmask pertaining to an internet address.
  */
 /*
  * 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;
 
        register u_long mask;
        register struct interface *ifp;