X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/56964485ce97f5588dce76c765a6edf50f20de6d..d1cf9a87fafc26849daa2806f3c5b01a87652408:/canohost.c diff --git a/canohost.c b/canohost.c index 04dc3d18..c27086bf 100644 --- a/canohost.c +++ b/canohost.c @@ -174,7 +174,7 @@ ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len) struct in_addr inaddr; u_int16_t port; - if (addr->ss_family != AF_INET6 || + if (addr->ss_family != AF_INET6 || !IN6_IS_ADDR_V4MAPPED(&a6->sin6_addr)) return;