22 Jul
2013
22 Jul
'13
10:50 a.m.
Stefan Winter wrote:
Still... maybe for a later version... if the input looks like an IP address, guessing the address family isn't all that hard.
Yeah.... patches? :)
I see that such a -4 -6 option is required for hostnames, but even then only if they return addresses for both families.
ipv6-localhost only returns ::1. And ::1 successfully parses neither as an IPv4, nor a hostname, but as an IPv6 address. Both are unambiguous and could be auto-detected.
Sure.
That would add a little user-friendliness for users who didn't have enough sleep :-)
Yes. Alan DeKok.