Date: Wed, 10 Aug 2011 06:20:11 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: kern/159600: commit references a PR Message-ID: <201108100620.p7A6KB0l023873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/159600; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/159600: commit references a PR Date: Wed, 10 Aug 2011 06:17:15 +0000 (UTC) Author: kevlo Date: Wed Aug 10 06:17:06 2011 New Revision: 224747 URL: http://svn.freebsd.org/changeset/base/224747 Log: If RTF_HOST flag is specified, then we are interested in destination address. PR: kern/159600 Submitted by: Svatopluk Kraus <onwahe at gmail dot com> Approved by: re (hrs) Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ============================================================================== --- head/sys/netinet/in.c Tue Aug 9 21:01:36 2011 (r224746) +++ head/sys/netinet/in.c Wed Aug 10 06:17:06 2011 (r224747) @@ -1037,7 +1037,7 @@ in_addprefix(struct in_ifaddr *target, i IN_IFADDR_RLOCK(); TAILQ_FOREACH(ia, &V_in_ifaddrhead, ia_link) { if (rtinitflags(ia)) { - p = ia->ia_addr.sin_addr; + p = ia->ia_dstaddr.sin_addr; if (prefix.s_addr != p.s_addr) continue; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108100620.p7A6KB0l023873>