freebsd-src/sbin
Mike Karels e23a0f521f ping: if -S srcaddr uses a numeric address, use that protocol
The command "ping -S dotted.quad hostname" fails on dual-stack hosts
with the confusing message "ping: invalid source address: Name does
not resolve" because IPv6 is selected in preference.  If the argument
to -S is numeric (likely), select the corresponding address family,
as if -4 or -6 was specified.  Add tests that either IPv4 or IPv6 can
be forced via a -S parameter.

Reviewed by:	asomers
Differential Revision: https://reviews.freebsd.org/D35271

(cherry picked from commit 5af718a592)
2022-05-27 07:11:46 -05:00
..
adjkerntz
bectl bectl: push space-in-name check down into libbe 2022-04-05 22:37:07 -05:00
bsdlabel *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-31 09:37:03 +02:00
camcontrol camcontrol fwdownload minor improvements 2022-03-09 13:52:23 -07:00
ccdconfig GEOM: Introduce gctl_add_param() API. 2022-04-05 22:07:40 -04:00
clri
comcontrol
conscontrol
ddb
decryptcore
devd pkgbase: move devd's hyperv.conf to hyperv-tools package 2022-05-16 17:25:23 +02:00
devfs devfs.rules: Correctly unhide pf in vnet jails 2021-11-24 17:45:51 +01:00
devmatch
dhclient dhclient(8): Fix a typo in a source code comment 2022-04-14 08:08:13 +02:00
dmesg
dump
dumpfs dumpfs(8): add option to only print superblock information 2022-02-23 09:27:27 -09:00
dumpon dumpon: proceed without compression if the kernel lacks support 2022-04-10 19:12:30 -04:00
etherswitchcfg
fdisk
ffsinfo
fsck fsck(8): Fix typo 2022-01-15 20:34:18 +08:00
fsck_ffs fsck_ffs(8): Fix a typo in a source code comment 2022-04-14 08:16:23 +02:00
fsck_msdosfs
fsdb Update fsdb(8) to reflect new structure of fsck_ffs(8). 2022-02-26 13:38:48 -08:00
fsirand
gbde
geom GEOM: Introduce partial confxml API 2022-05-10 21:20:25 -04:00
ggate ggatec: Use ANSI C definition for init_initial_buffer_size. 2022-05-10 17:04:10 -07:00
growfs growfs: do not error if filesystem is already requested size 2021-11-21 19:30:18 -05:00
gvinum GEOM: Introduce gctl_add_param() API. 2022-04-05 22:07:40 -04:00
hastctl
hastd hastd(8): Fix a typo in a source code comment 2022-04-14 08:12:19 +02:00
ifconfig ifconfig.8: Document that -k can be used with -a 2022-04-12 16:35:52 +02:00
init init: execute /etc/rc.final after all user processes have terminated 2021-08-26 01:42:00 -05:00
ipf ipnat(5): Fix a double word in the manual page 2022-04-14 08:14:37 +02:00
ipfw ipfw.8: MFC: spell "layer2" consistently throughout the manual page 2022-05-21 09:10:04 +07:00
iscontrol Update old iSCSI initiator man pages for removal from 14 and later 2021-10-26 16:23:41 -04:00
kldconfig
kldload
kldstat kldstat(8): style(9) fixes. 2022-01-07 14:23:09 +01:00
kldunload
ldconfig ldconfig: remove two symbols 2022-01-15 02:51:14 +02:00
md5 md5(1): Fix a typo in the manual page 2021-08-19 09:29:01 +02:00
mdconfig mdconfig: Add a regression test for mediasize rounding 2021-09-07 09:36:18 -04:00
mdmfs
mknod
mksnap_ffs
mount mount: Don't pass a NULL format string to xo_err(). 2022-05-10 15:51:49 -07:00
mount_cd9660
mount_fusefs fusefs: use the fsname mount option if set 2022-05-23 13:11:11 -06:00
mount_msdosfs
mount_nfs mount_nfs: Add a "bgnow" NFS mount option 2022-01-25 15:25:06 -08:00
mount_nullfs
mount_udf
mount_unionfs
natd natd: Remove uneeded in_cksum.h includes 2021-12-01 07:42:13 -05:00
newfs *: Do not use the no-op -r flag for bsdlabel(8) 2022-03-31 09:37:03 +02:00
newfs_msdos newfs_msdos: Fix warnings that arise when compiled for makefs 2022-05-24 09:51:27 -04:00
nfsiod pkgbase: Add nfsiod to the FreeBSD-nfs package 2021-08-16 18:15:47 +02:00
nos-tun
nvmecontrol nvme: fix spelling of Namespace 2022-02-27 17:59:31 -08:00
pfctl pfctl: fix recursive printing of rules 2022-05-04 08:20:58 +02:00
pfilctl
pflogd
ping ping: if -S srcaddr uses a numeric address, use that protocol 2022-05-27 07:11:46 -05:00
ping6
quotacheck
rcorder
reboot Cross-reference nextboot(8) and freebsd-update(8) 2022-04-05 16:08:43 +02:00
recoverdisk
resolvconf
restore
route route: remove write-only struct hostent from getaddr() 2022-01-26 19:35:40 -05:00
routed routed(8): Remove a double word in a source code comment 2022-04-14 07:58:53 +02:00
rtsol
savecore savecore: factor out info file handling 2022-05-16 10:34:03 -03:00
sconfig pkgbase: Put sconfig in FreeBSD-utilities 2022-01-05 18:23:51 +01:00
setkey setkey(8): Clarify language around AEAD ciphers. 2022-05-19 17:35:34 -07:00
shutdown
spppcontrol pkgbase: Move spppcontrol to FreeBSD-ppp 2022-01-05 18:23:49 +01:00
swapon swapon(8): adapt to the new swapoff(2) interface 2021-12-20 02:29:11 +02:00
sysctl sysctl(8): Mention CTLFLAG_SKIP 2022-04-04 12:11:36 -07:00
tests
tunefs
umount umount(8): Remove a double word in a source code comment 2022-04-14 08:06:55 +02:00
veriexec
zfsbootcfg
Makefile sbin: build ping if at least one of INET & INET6 is enabled 2021-12-12 20:28:58 -05:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64