Subject: Re: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: source-changes
Date: 04/21/2004 08:18:55
Matt Thomas <matt@netbsd.org> typed:
: Module Name:	src
: Committed By:	matt
: Date:		Wed Apr 21 04:17:29 UTC 2004
: Modified Files:
: 	src/sys/net: if.c if.h radix.c radix.h route.c route.h rtsock.c
: 	src/sys/netinet: if_arp.c
: 	src/sys/netiso: if_eon.c
:
: Log Message:
: Constify if.c radix.c and route.c (and fix related fallout).

: cvs rdiff -r1.20 -r1.21 src/sys/net/radix.c

At least this error in radix.c change:

-       netmask = cp = (caddr_t)(x + 2);
-       Bcopy(addmask_key, cp, mlen);
+       netmask = (caddr_t)(x + 2);
+       Bcopy(addmask_key, (caddr_t)(x + 2), mlen);
        x = rn_insert(cp, mask_rnhead, &maskduplicated, x);
                      ^^

Regards,
-- 
Geoff Wing : <gcw@pobox.com>