summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-03-20 00:32:39 +0000
committerColin Watson <cjwatson@debian.org>2014-03-20 00:34:16 +0000
commit2ee2de47fd0f684f54218d31b4ec83930e69c18e (patch)
tree86848a7668424b392d48791a0e41e05f9df7b62b /canohost.c
parentc9947303ad3c432b1cadfbeb1d95a7cd38662d66 (diff)
parent9cbb60f5e4932634db04c330c88abc49cc5567bd (diff)
Merge 6.6p1.
* New upstream release (http://www.openssh.com/txt/release-6.6).
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c
index a19a60cda..a61a8c94d 100644
--- a/canohost.c
+++ b/canohost.c
@@ -192,7 +192,7 @@ ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len)
192 memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr)); 192 memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr));
193 port = a6->sin6_port; 193 port = a6->sin6_port;
194 194
195 bzero(a4, sizeof(*a4)); 195 memset(a4, 0, sizeof(*a4));
196 196
197 a4->sin_family = AF_INET; 197 a4->sin_family = AF_INET;
198 *len = sizeof(*a4); 198 *len = sizeof(*a4);