]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxnet.c
Simon points out that r5068 broke keyboard-interactive with multiple
[PuTTY.git] / unix / uxnet.c
index f1ef98b03ff10079fb22c72500718979a81b34c9..5cf70082595bb08867394f303771ccfdad7329f5 100644 (file)
@@ -209,6 +209,9 @@ SockAddr sk_nonamelookup(const char *host)
     ret->family = AF_UNSPEC;
     strncpy(ret->hostname, host, lenof(ret->hostname));
     ret->hostname[lenof(ret->hostname)-1] = '\0';
+#ifndef NO_IPV6
+    ret->ai = NULL;
+#endif
     return ret;
 }