freebsd-dev/sbin
Gavin Atkinson a7874572c7 ifconfig(8) is documented to take a ISO 3166-1 country code to set the
regulatory domain with the "country" parameter, but will also take a full
country name.  The man page warns that only the ISO code is unambiguous.
In reality, however, the first match on either would be accepted, leading
to "DE" being interpreted as the "DEBUG" country rather than Germany, and
"MO" selecting Morocco rather than the correct country, Macau.

Fix this by always checking for an ISO CC match first, and only search on
the full country name if that fails.

PR:		bin/140571
Tested by:	Dirk Meyer dirk.meyer dinoex.sub.org
Reviewed by:	sam
Approved by:	ed (mentor)
MFC after:	1 month
2009-12-15 20:44:12 +00:00
..
adjkerntz Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
atacontrol MFp4: 2009-12-06 00:10:13 +00:00
atm Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
badsect Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
bsdlabel Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
camcontrol MFp4: 2009-11-26 08:49:46 +00:00
ccdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
clri Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
comcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
conscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ddb Ensure 'kvm' is always initialized. If "-M" was not specified and the 2009-11-02 20:18:50 +00:00
devd
devfs
dhclient Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
dmesg Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dump Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dumpfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dumpon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
fdisk - Back out the previous change in order to maintain compatibility. 2009-06-17 06:41:10 +00:00
fdisk_pc98
ffsinfo
fsck Fix minor resource leak in a function which was introduced by changing an 2009-11-20 15:27:00 +00:00
fsck_ffs Correct comment. 2009-06-03 09:23:31 +00:00
fsck_msdosfs fsck_msdosfs: accept no-op -C option for compatibilty with fsck 2009-06-10 19:02:54 +00:00
fsdb
fsirand
gbde
geom The default balance algorithm has changed from "split" to 2009-12-09 11:00:00 +00:00
ggate Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
growfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
gvinum Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ifconfig ifconfig(8) is documented to take a ISO 3166-1 country code to set the 2009-12-15 20:44:12 +00:00
init Let init(8) and reboot(8) use utmpx to log wtmp entries. 2009-12-05 20:26:55 +00:00
ipf Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ipfw implement a new match option, 2009-12-15 09:46:27 +00:00
iscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
kldconfig
kldload Add a note about the implication of secure level setting against kldload, 2009-06-23 23:56:56 +00:00
kldstat
kldunload Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ldconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mca
md5 Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdmfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mknod Refine r198714, it's not as easy as just leaving the major number zero. 2009-11-01 18:25:11 +00:00
mksnap_ffs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount Add links to zfs(8) and zpool(8) to mount(8) manual page. 2009-11-11 12:55:58 +00:00
mount_autofs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_cd9660 Fix minor memory leak in a function. 2009-11-20 15:28:38 +00:00
mount_ext2fs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_hpfs
mount_msdosfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_nfs Fix parsing of mount options specified with -o in case an option with 2009-10-26 14:57:33 +00:00
mount_ntfs
mount_nullfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_reiserfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_std
mount_udf
mount_unionfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
natd
newfs
newfs_msdos Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
nfsiod Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
nos-tun
pfctl Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
pflogd
ping
ping6
quotacheck
rcorder Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
reboot Let init(8) and reboot(8) use utmpx to log wtmp entries. 2009-12-05 20:26:55 +00:00
recoverdisk Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
restore
route remove stale references to RTF_CLONING and RTF_LLINFO 2009-09-04 18:52:26 +00:00
routed Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
rtsol
savecore Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
setkey
shutdown Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
spppcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sunlabel
swapon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sysctl Just use devname(3) to print device names. 2009-11-03 11:41:21 +00:00
tunefs The tunefs utility does not work on active filesystems. 2009-10-21 10:15:26 +00:00
umount Be more precise how to get fsids - 'mount -v' doesn't show fsids unless is run 2009-08-17 07:38:47 +00:00
Makefile
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00