1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

Remove my dire-warning `FIXME' in IPv4 dotted-decimal handling

because Jeroen points out that it's perfectly OK the way it is :-)

[originally from svn r1080]
This commit is contained in:
Simon Tatham 2001-04-28 11:24:45 +00:00
parent ea2e1dd9ae
commit 8695ee2def

View File

@ -287,10 +287,10 @@ SockAddr sk_namelookup(char *host, char **canonicalname)
}
else
{
/*
* Hack inserted to deal with problems with numeric IPs.
* FIXME: how will this work in IPv6?
*/
/*
* This must be a numeric IPv4 address because it caused a
* success return from inet_addr.
*/
ret->family = AF_INET;
*canonicalname = host;
}