diff options
author | Alan Somers <asomers@FreeBSD.org> | 2020-11-26 18:33:04 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2020-11-26 18:33:04 +0000 |
commit | d26245171514e85becdd350ee5574f7c886a5db0 (patch) | |
tree | 188826f6a68bc846d35f61aa1cf658e26bc10e27 /sbin/ping/Makefile | |
parent | f7af6e5e54ebd1e3d70dd3d9d9660f049c1dbd2b (diff) | |
download | src-d26245171514e85becdd350ee5574f7c886a5db0.tar.gz src-d26245171514e85becdd350ee5574f7c886a5db0.zip |
ping: add a ping6 hard link for backwards compatibility
When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.
Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384
Notes
Notes:
svn path=/head/; revision=368078
Diffstat (limited to 'sbin/ping/Makefile')
-rw-r--r-- | sbin/ping/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index 437d2f6b1b5a..c9cc63bbf74d 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -15,6 +15,7 @@ LIBADD= m CFLAGS+= -DINET6 -DKAME_SCOPEID SRCS+= ping6.c LIBADD+= md +LINKS= ${BINDIR}/ping ${BINDIR}/ping6 .endif .if ${MK_DYNAMICROOT} == "no" |