diff options
Diffstat (limited to 'crypto/openssh/canohost.c')
-rw-r--r-- | crypto/openssh/canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/canohost.c b/crypto/openssh/canohost.c index ef94d91..dabd8a3 100644 --- a/crypto/openssh/canohost.c +++ b/crypto/openssh/canohost.c @@ -199,7 +199,7 @@ ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len) memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr)); port = a6->sin6_port; - memset(addr, 0, sizeof(*a4)); + bzero(a4, sizeof(*a4)); a4->sin_family = AF_INET; *len = sizeof(*a4); |