kern/159600: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Wed Feb 15 05:40:06 UTC 2012
The following reply was made to PR kern/159600; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/159600: commit references a PR
Date: Wed, 15 Feb 2012 05:37:59 +0000 (UTC)
Author: kevlo
Date: Wed Feb 15 05:37:41 2012
New Revision: 231741
URL: http://svn.freebsd.org/changeset/base/231741
Log:
MFC r224747:
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>
Modified:
stable/8/sys/netinet/in.c
Modified: stable/8/sys/netinet/in.c
==============================================================================
--- stable/8/sys/netinet/in.c Wed Feb 15 05:35:37 2012 (r231740)
+++ stable/8/sys/netinet/in.c Wed Feb 15 05:37:41 2012 (r231741)
@@ -1043,7 +1043,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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list