[Top][All Lists]
[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.
- [bug-inetutils] [PATCH] Make `logger' IPv6-capable., Mats Erik Andersson, 2011/01/18
- Re: [bug-inetutils] [PATCH] Make `logger' IPv6-capable., Alfred M. Szmidt, 2011/01/18
- Re: [bug-inetutils] [PATCH] Make `logger' IPv6-capable., Mats Erik Andersson, 2011/01/18
- [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Simon Josefsson, 2011/01/19
- [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Mats Erik Andersson, 2011/01/19
- [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Simon Josefsson, 2011/01/19
- [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Mats Erik Andersson, 2011/01/19
- [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Simon Josefsson, 2011/01/19
- Re: [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable.,
Alfred M. Szmidt <=
- Re: [bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable., Alfred M. Szmidt, 2011/01/19
- [bug-inetutils] On the use of non-exiting error()., Mats Erik Andersson, 2011/01/19
- Re: [bug-inetutils] On the use of non-exiting error()., Alfred M. Szmidt, 2011/01/19
- Re: [bug-inetutils] [PATCH] Make `logger' IPv6-capable., Alfred M. Szmidt, 2011/01/19