Remove extra '&'. sin6 is already a pointer.
PR: 195011 MFC after: 1 week
This commit is contained in:
parent
1b5aa92cff
commit
ba76ce40b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279735
@ -3870,7 +3870,7 @@ key_ismyaddr6(struct sockaddr_in6 *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;
|
||||
|
Loading…
Reference in New Issue
Block a user