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:
parent
ea2e1dd9ae
commit
8695ee2def
8
winnet.c
8
winnet.c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user