DragonFly BSD
DragonFly submit List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/net hostcache.c if_atm.h if_fddisubr.c route.c route.h rtsock.c src/sys/net/faith if_faith.c src/sys/netinet if_ether.c in_gif.c in_hostcache.c in_rmx.c ip_icmp.c src/sys/netinet6 icmp6.c in6.c in6_gif.c in6_ifattach.c in6_pcb.c ...


To: hsu@xxxxxxxxxxxxxxxxxxxxxxx
From: Tim Wickberg <me@xxxxxxxxxxx>
Date: Thu, 06 Jan 2005 23:48:56 -0500

Attached is a (small) patch to src/sys/net/stf/if_stf.c to fix the kernel build (if_stf.c needs to be updated to how rtlookup() now works).

-- Tim Wickberg
   me@xxxxxxxxxxx
--- if_stf.c.orig	2005-01-06 23:38:19.000000000 -0500
+++ if_stf.c	2005-01-06 23:38:05.000000000 -0500
@@ -480,7 +480,7 @@
 		sin.sin_family = AF_INET;
 		sin.sin_len = sizeof(struct sockaddr_in);
 		sin.sin_addr = *in;
-		rt = rtlookup((struct sockaddr *)&sin, 0, 0UL);
+		rt = rtlookup((struct sockaddr *)&sin);
 		if (!rt || rt->rt_ifp != inifp) {
 #if 0
 			log(LOG_WARNING, "%s: packet from 0x%x dropped "


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]