-/* $OpenBSD: ike.c,v 1.82 2017/10/27 08:29:32 mpi Exp $ */
+/* $OpenBSD: ike.c,v 1.83 2022/06/25 20:33:40 mbuhl Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
sa->sa_len = sizeof(struct sockaddr_in);
bcopy(&iamask->ipa,
&((struct sockaddr_in *)(sa))->sin_addr,
- sizeof(struct in6_addr));
+ sizeof(struct in_addr));
break;
case AF_INET6:
sa->sa_len = sizeof(struct sockaddr_in6);