Re: cvs commit: src/sys/net hostcache.c if_atm.h if_fddisubr.c r
This is a multi-part message in MIME format.
--------------000200050609070502000009
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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@k9mach3.org
--------------000200050609070502000009
Content-Type: text/plain;
name="if_stf.c.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="if_stf.c.patch"
--- 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 "
--------------000200050609070502000009--
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):