freebsd-dev/sbin/ifconfig
Gavin Atkinson 3a911eccaa MFC r200587:
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, implicit)
2010-01-16 15:00:35 +00:00
..
af_atalk.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
af_inet6.c MFC: 2009-12-07 06:05:36 +00:00
af_inet.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
af_ipx.c Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of 2007-06-13 18:07:59 +00:00
af_link.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
af_nd6.c MFC: 2009-12-07 06:05:36 +00:00
ifbridge.c Add an option to limit the number of source MACs that can be behind a bridge 2007-11-04 08:32:27 +00:00
ifcarp.c Use afswch->af_other_status for carp_status() and pfsync_status(). 2005-02-22 14:07:47 +00:00
ifclone.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifconfig.8 MFC: 2009-12-07 06:05:36 +00:00
ifconfig.c Make ifconfig ifN -vnet <jname|jid> actually work: 2009-07-26 11:25:57 +00:00
ifconfig.h - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifgif.c MFC r196929: Suppress an options line when no bit is on. 2009-09-13 11:31:25 +00:00
ifgre.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifgroup.c Default to AF_LOCAL instead of AF_INET sockets for non-family-specific 2009-03-15 22:33:18 +00:00
ifieee80211.c MFC 197975, 197977, 197980, 198027: 2009-10-17 13:42:23 +00:00
iflagg.c Do no spam the ifconfig output for the aggregated interface with 'laggdev laggX'. 2009-04-30 14:31:52 +00:00
ifmac.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifmedia.c Implementation of the upcoming Wireless Mesh standard, 802.11s, on the 2009-07-11 15:02:45 +00:00
ifpfsync.c Print pfsync interface status if either syncpeer or syncdev is configured. 2006-06-06 11:21:08 +00:00
ifvlan.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
Makefile MFC: 2009-12-07 06:05:36 +00:00
regdomain.c MFC r200587: 2010-01-16 15:00:35 +00:00
regdomain.h Regulatory fixups: 2009-02-07 01:12:51 +00:00