aboutsummaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
Diffstat (limited to 'net/key')
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 9255fd9d94bc..f0d52d721b3a 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -709,7 +709,7 @@ static unsigned int pfkey_sockaddr_fill(const xfrm_address_t *xaddr, __be16 port
709 sin6->sin6_family = AF_INET6; 709 sin6->sin6_family = AF_INET6;
710 sin6->sin6_port = port; 710 sin6->sin6_port = port;
711 sin6->sin6_flowinfo = 0; 711 sin6->sin6_flowinfo = 0;
712 sin6->sin6_addr = *(struct in6_addr *)xaddr->a6; 712 sin6->sin6_addr = xaddr->in6;
713 sin6->sin6_scope_id = 0; 713 sin6->sin6_scope_id = 0;
714 return 128; 714 return 128;
715 } 715 }