freebsd-nq/sbin
Konstantin Belousov 3f113d5606 ifconfig: properly detect invalid mediaopt keywords.
When invalid keyword is specified, ifconfig(8) is silent about it,
instead random request is sent to the driver.

Before the patch:
root@r-freeb43:~ # ifconfig mce0 mediaopt -txpause,-rxpause
ifconfig: SIOCSIFMEDIA (media): Device not configured

After:
root@r-freeb43:~ # ifconfig mce0 mediaopt -txpause,-rxpause
ifconfig: unknown option: -txpause

Reviewed by:	hselasky, kp
Sponsored by:	Mellanox Technologies / NVidia Networking
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D27060
2020-11-02 21:47:34 +00:00
..
adjkerntz
bectl bectl(8): missing flag in the help message 2020-10-30 19:37:34 +00:00
bsdlabel
camcontrol Add help messages for camcontrol(8) MMCCAM functionality 2020-10-30 18:55:08 +00:00
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
devd Document the rather suprising behavior with ' inside action rules. 2020-10-13 05:19:00 +00:00
devfs devfs.rules: unhide pf in vnet jails 2020-10-05 19:26:54 +00:00
devmatch devmatch(8): Respect mask field when matching strings of Z type. 2020-10-31 22:04:13 +00:00
dhclient dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dmesg
dump
dumpfs
dumpon
etherswitchcfg
fdisk
ffsinfo
fsck Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
fsck_ffs Use proper type (ino_t) for inode numbers to avoid improper sign extention 2020-10-25 21:04:07 +00:00
fsck_msdosfs Use %ju and cast to (uintmax_t) to avoid using PRI* macros. 2020-09-28 04:30:31 +00:00
fsdb fsdb(8): Fix an issue reported by mandoc 2020-10-03 18:44:13 +00:00
fsirand Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
gbde
geom
ggate ggate: Fix ggated/ggatec debug print of offsets. 2020-09-09 12:58:19 +00:00
growfs Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
gvinum gvinum(8): Fix an issue reported by mandoc 2020-10-03 18:49:00 +00:00
hastctl
hastd
ifconfig ifconfig: properly detect invalid mediaopt keywords. 2020-11-02 21:47:34 +00:00
init Remove risky compatability with old kernels 2020-09-02 21:14:36 +00:00
ipf
ipfw ipfw(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:30:01 +00:00
iscontrol pkgbase: We can't easily have a package with either a - or a _ 2020-08-07 12:19:21 +00:00
kldconfig kldconfig(8): Add EXAMPLES to the man page 2020-09-29 17:52:15 +00:00
kldload
kldstat kldstat(8): Add EXAMPLES to the man page 2020-09-02 18:15:57 +00:00
kldunload
ldconfig
md5 md5: return non-zero if built-in tests (-x) fail 2020-07-23 20:06:24 +00:00
mdconfig Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
mdmfs mdmfs(8): Fix an issue reported by mandoc 2020-10-03 18:47:50 +00:00
mknod
mksnap_ffs
mount Move the mount name to bit mapping into sys/mount.h so it can be shared with the 2020-08-19 17:09:58 +00:00
mount_cd9660
mount_fusefs
mount_msdosfs Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
mount_nfs mount_nfs(8): document alternate form of the gssname option 2020-07-17 21:55:24 +00:00
mount_nullfs Remove the check that prevents creating "loops" from mount_nullfs(8). 2020-10-25 14:09:00 +00:00
mount_udf
mount_unionfs
natd
newfs In the newfs(8) utility, use the more appropriate sbwrite() and cgwrite() 2020-09-13 22:57:50 +00:00
newfs_msdos Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
nfsiod
nos-tun
nvmecontrol Use proper variable for device path. 2020-10-28 17:28:48 +00:00
pfctl [pfctl_tests] Add missing void to empty function declaration 2020-10-15 14:56:51 +00:00
pfilctl Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
pflogd
ping Make use of IP_VLAN_PCP setsockopt in ping and ping6. 2020-10-24 21:01:18 +00:00
ping6 Make use of IP_VLAN_PCP setsockopt in ping and ping6. 2020-10-24 21:01:18 +00:00
quotacheck
rcorder [rcorder] [crunch] Fix C function declarations to include void 2020-09-21 17:59:45 +00:00
reboot The nextboot(8) manual page currently says that the loader(8) would delete 2020-10-11 10:40:11 +00:00
recoverdisk Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
resolvconf
restore
route Skip sbin/route tests if jail not installed (WITHOUT_JAIL). 2020-08-04 21:34:13 +00:00
routed
rtsol
savecore Convert flags from int to bool. Some (compress) were already used in 2020-10-29 23:15:11 +00:00
sconfig
setkey
shutdown shutdown.8: Fix typo 2020-07-05 13:08:17 +00:00
spppcontrol
swapon
sysctl Use a dynamic buffer for the copy of a node's new value. 2020-10-30 21:13:05 +00:00
tests
tunefs Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
umount
veriexec veriexec(8): Bugfix for an issue reported by mandoc 2020-10-03 18:46:42 +00:00
zfsbootcfg loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.mips
Makefile.powerpc64