bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable.


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable.
Date: Wed, 19 Jan 2011 11:41:28 -0500

   Other InetUtils tools fails when passed a -6 and IPv6 is not working,
   for example:

   address@hidden:~$ telnet gnu.org
   Trying 140.186.70.148...
   ^C
   address@hidden:~$ telnet -6 gnu.org
   gnu.org/telnet: lookup failure: No address associated with hostname
   address@hidden:~$ 

   Generally, it feels more natural for a tool to fail when it cannot do
   what it is asked to, rather than give a warning and do something else.

   Typically users won't use --ipv4 or --ipv6 but rather use a hostname,
   and let the getaddrinfo() do its magic of selecting ipv4 vs ipv6, right?

That is a good point, you've convinced me atleast that a hard error is
better for --ipv6, and simply `work' for normal lookups.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]