~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abb6cd
)
IPv4 numeric addresses were broken thanks to IPv6 patch
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Jan 2001 17:25:06 +0000
(17:25 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Jan 2001 17:25:06 +0000
(17:25 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@854
cda61777
-01e9-0310-a592-
d414129be87e
winnet.c
patch
|
blob
|
blame
|
history
diff --git
a/winnet.c
b/winnet.c
index
2cde075
..
88fbae0
100644
(file)
--- a/
winnet.c
+++ b/
winnet.c
@@
-273,6
+273,11
@@
SockAddr sk_namelookup(char *host, char **canonicalname)
}
else
{
+ /*
+ * Hack inserted to deal with problems with numeric IPs.
+ * FIXME: how will this work in IPv6?
+ */
+ ret->family = AF_INET;
*canonicalname = host;
}
ret->address = ntohl(a);