diff options
-rw-r--r-- | sbin/ipsecctl/ike.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c index 5c46877461a..aef204b308f 100644 --- a/sbin/ipsecctl/ike.c +++ b/sbin/ipsecctl/ike.c @@ -1,4 +1,4 @@ -/* $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> * @@ -646,7 +646,7 @@ ike_section_p2ids_net(struct ipsec_addr *iamask, sa_family_t af, char *name, 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); |