Merge ping+ping6 and traceroue+traceroute6 to single utilities?

Lev Serebryakov lev at FreeBSD.org
Sat Jan 11 20:52:12 UTC 2014


Hello, Bjoern.
You wrote 11 января 2014 г., 23:39:48:
>>
>> MM> The ping6 and traceroute6 could be made just links to a common utility
>> 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 — will you preserve (conflicting) command line options and if
 It is good question, indeed.

BAZ> it’s 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.

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-net mailing list