Date: Sat, 14 Mar 2015 14:46:10 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r279991 - stable/9/sys/netipsec Message-ID: <201503141446.t2EEkAtj007754@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Sat Mar 14 14:46:10 2015 New Revision: 279991 URL: https://svnweb.freebsd.org/changeset/base/279991 Log: MFC r279735: Remove extra '&'. sin6 is already a pointer. PR: 195011 Modified: stable/9/sys/netipsec/key.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netipsec/key.c ============================================================================== --- stable/9/sys/netipsec/key.c Sat Mar 14 14:44:03 2015 (r279990) +++ stable/9/sys/netipsec/key.c Sat Mar 14 14:46:10 2015 (r279991) @@ -3965,7 +3965,7 @@ key_ismyaddr6(sin6) IN6_IFADDR_RLOCK(); TAILQ_FOREACH(ia, &V_in6_ifaddrhead, ia_link) { - if (key_sockaddrcmp((struct sockaddr *)&sin6, + if (key_sockaddrcmp((struct sockaddr *)sin6, (struct sockaddr *)&ia->ia_addr, 0) == 0) { IN6_IFADDR_RUNLOCK(); return 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503141446.t2EEkAtj007754>