aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig/regdomain.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-12-15 01:00:18 +0000
committerSam Leffler <sam@FreeBSD.org>2008-12-15 01:00:18 +0000
commitcf0d500765d6314b4338c0a19d738992a47ae1c0 (patch)
tree537873ec1648d1a785034658046a51bfb4b2f4a9 /sbin/ifconfig/regdomain.h
parent1b999d643c7ed99738b8bb85907f396bc49bc425 (diff)
Improve regdomain.xml parser:
o store XML_Parser in the state block so we can report line numbers for errors o complain about netband w/o mode o complain about unknown modes o complain about band w/o enclosing netband o complain about duplicate freqband o complain about unknown channel flags o complain about band w/o freqband's o complain about band w/o maxpower o complain about country w/o ISO cc o complain about country w/o regdomain reference
Notes
Notes: svn path=/head/; revision=186100
Diffstat (limited to 'sbin/ifconfig/regdomain.h')
-rw-r--r--sbin/ifconfig/regdomain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ifconfig/regdomain.h b/sbin/ifconfig/regdomain.h
index e7046a90b106..5b37a0b17fc2 100644
--- a/sbin/ifconfig/regdomain.h
+++ b/sbin/ifconfig/regdomain.h
@@ -73,6 +73,7 @@ struct regdomain {
struct country {
enum ISOCountryCode code;
+#define NO_COUNTRY 0xffff
const struct regdomain *rd;
const char* isoname;
const char* name;