Author: ae
Date: Sat Mar 14 14:38:25 2015
New Revision: 279989
URL: https://svnweb.freebsd.org/changeset/base/279989

Log:
  MFC r279735:
    Remove extra '&'. sin6 is already a pointer.
  
  PR:           195011

Modified:
  stable/10/sys/netipsec/key.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netipsec/key.c
==============================================================================
--- stable/10/sys/netipsec/key.c        Sat Mar 14 14:35:07 2015        
(r279988)
+++ stable/10/sys/netipsec/key.c        Sat Mar 14 14:38:25 2015        
(r279989)
@@ -3940,7 +3940,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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to