summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2015-03-14 14:38:25 +0000
committerae <ae@FreeBSD.org>2015-03-14 14:38:25 +0000
commit96d5981c369fdf42633dace4e955f91d0f7b0a66 (patch)
tree0f7e8ff80dca337370eada01aef21a0660191a2a /sys/netipsec
parent783dfdc0750e0aa7b3c0771b854d59576c43e2bf (diff)
downloadFreeBSD-src-96d5981c369fdf42633dace4e955f91d0f7b0a66.zip
FreeBSD-src-96d5981c369fdf42633dace4e955f91d0f7b0a66.tar.gz
MFC r279735:
Remove extra '&'. sin6 is already a pointer. PR: 195011
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 13e62b1..1927373 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -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;
OpenPOWER on IntegriCloud