svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

Alan Somers asomers at freebsd.org
Thu Nov 26 18:52:10 UTC 2020


On Thu, Nov 26, 2020 at 2:16 AM Bjoern A. Zeeb <
bzeeb-lists at lists.zabbadoz.net> wrote:

> On 26 Nov 2020, at 4:29, Alan Somers wrote:
>
> > Author: asomers
> > Date: Thu Nov 26 04:29:30 2020
> > New Revision: 368045
> > URL: https://svnweb.freebsd.org/changeset/base/368045
> >
> > Log:
> >   Merge ping6 to ping
> >
> >   There is now a single ping binary, which chooses to use ICMP or
> > ICMPv4
> >   based on the -4 and -6 options, and the format of the address.
> >
> >   Submitted by:       Ján Sučan <sucanjan at gmail.com>
> >   Sponsored by:       Google LLC (Google Summer of Code 2019)
> >   MFC after:  Never
> >   Differential Revision:      https://reviews.freebsd.org/D21377
>
> I don’t have IPv4 anymore.
> I don’t see any WITHOUT_INET or -DINET checks.
> How can I compile INET out now?
>

I don't see any such checks before, either.  Was it ever possible to
exclude ping by building WITHOUT_INET?


>
>
> Also can we please have a ping6 [binary, compat shell script, or
> hardlink] back which defaults to -6 with appropriate option parsing by
> default?
> People used that in scripts and whatnot for about 20 years (and
> there’s even still stuff in tools in our own tree referencing it).
>

Done.


More information about the svn-src-all mailing list