Re: cvs commit: src/sys/net hostcache.c if_atm.h if_fddisubr.c r

看板DFBSD_submit作者時間21年前 (2005/01/07 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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--
文章代碼(AID): #11tXUL00 (DFBSD_submit)
文章代碼(AID): #11tXUL00 (DFBSD_submit)