Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 00:52:01 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Merge ping+ping6 and traceroue+traceroute6 to single utilities?
Message-ID:  <1043056268.20140112005201@serebryakov.spb.ru>
In-Reply-To: <1E09095E-82BB-448E-8EE5-52830F664C3D@lists.zabbadoz.net>
References:  <1063008459.20140111160525@serebryakov.spb.ru> <52D14140.3090003@gibfest.dk> <a46d4e716d15f48b1d4bd32c22dce45c@mailbox.ijs.si> <1218795565.20140111222236@serebryakov.spb.ru> <1E09095E-82BB-448E-8EE5-52830F664C3D@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Bjoern.
You wrote 11 =D1=8F=D0=BD=D0=B2=D0=B0=D1=80=D1=8F 2014 =D0=B3., 23:39:48:
>>
>> MM> The ping6 and traceroute6 could be made just links to a common utili=
ty
>> MM> and turn on the -6 option implicitly. For a transition period I could
>> MM> live with the -4 being a default, if that would be a consensus.
>>  Exactly my point of view.

BAZ> Question =E2=80=94 will you preserve (conflicting) command line option=
s and if
 It is good question, indeed.

BAZ> it=E2=80=99s one utility and I use a hostname how will it know how to =
interpret them?
  hostname gives ambiguity only if here are both A and AAAA records AND we
 have both IPv4 and IPv6 addresses configured. In such case we should choose
 sane default, which could depends on argv[0] :) Also, options parsing could
 depends on argv[0] too, for backward compatibility.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043056268.20140112005201>