]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ping: By default, don't reverse lookup IP addresses
authorasomers <asomers@FreeBSD.org>
Thu, 22 Aug 2019 18:57:24 +0000 (18:57 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 22 Aug 2019 18:57:24 +0000 (18:57 +0000)
commit26536f89a3156f91e6ccb11ec7706c8699fa4a7e
tree950d12ca67d3a5d8809cf8d15ea1d78e8da2d4a0
parent53d87406a66ba1a3f905f17ee5dc5649e33da79b
ping: By default, don't reverse lookup IP addresses

ping's default is now not to attempt reverse DNS lookups.  The -H flag will
enable them.  This change is not quite a reversion of r351330.  That change
made the happy path and error path do reverse lookups consistently; this
change changes the default for both paths.

Submitted by: Ján Sučan <sucanjan@gmail.com>
Discussed with: cem
MFC after: 2 weeks
MFC-With: 351330
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/D21364
sbin/ping/ping.8
sbin/ping/ping.c
sbin/ping/tests/ping_c1_s56_t1.out