diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-06 08:00:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 08:00:19 +0100 |
commit | 0fc8b17901fe8bdaa4cb5a0eb88884c9c35ff84c (patch) | |
tree | 15674a7fa8746ffdc2bd2dc07948a49215fd8bc7 /interface-definitions/interfaces_wireless.xml.in | |
parent | 82d40098e3f2d53e2c851e8ffb165d7814c60f0f (diff) | |
parent | f5abfa2b34519c571cbd8cf4231d73a27ac68571 (diff) | |
download | vyos-1x-0fc8b17901fe8bdaa4cb5a0eb88884c9c35ff84c.tar.gz vyos-1x-0fc8b17901fe8bdaa4cb5a0eb88884c9c35ff84c.zip |
Merge pull request #3097 from vyos/mergify/bp/sagitta/pr-3090
wifi: T6095: incorrect country "uk" it's actually "gb" (backport #3090)
Diffstat (limited to 'interface-definitions/interfaces_wireless.xml.in')
-rw-r--r-- | interface-definitions/interfaces_wireless.xml.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/interface-definitions/interfaces_wireless.xml.in b/interface-definitions/interfaces_wireless.xml.in index b5da0a556..458f7ebb3 100644 --- a/interface-definitions/interfaces_wireless.xml.in +++ b/interface-definitions/interfaces_wireless.xml.in @@ -455,14 +455,18 @@ <properties> <help>Indicate country in which device is operating</help> <completionHelp> - <list>us eu jp de uk cn es fr ru</list> + <list>00 ad ae af ai al am an ar as at au aw az ba bb bd be bf bg bh bl bm bn bo br bs bt by bz ca cf ch ci cl cn co cr cu cx cy cz de dk dm do dz ec ee eg es et fi fm fr gb gd ge gf gh gl gp gr gt gu gy hk hn hr ht hu id ie il in ir is it jm jo jp ke kh kn kp kr kw ky kz lb lc li lk ls lt lu lv ma mc md me mf mh mk mn mo mp mq mr mt mu mv mw mx my ng ni nl no np nz om pa pe pf pg ph pk pl pm pr pt pw py qa re ro rs ru rw sa se sg si sk sn sr sv sy tc td tg th tn tr tt tw tz ua ug us uy uz vc ve vi vn vu wf ws ye yt za zw</list> </completionHelp> <valueHelp> + <format>00</format> + <description>World regulatory domain</description> + </valueHelp> + <valueHelp> <format>txt</format> <description>ISO/IEC 3166-1 Country Code</description> </valueHelp> <constraint> - <regex>[a-z][a-z]</regex> + <regex>(00|ad|ae|af|ai|al|am|an|ar|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bl|bm|bn|bo|br|bs|bt|by|bz|ca|cf|ch|ci|cl|cn|co|cr|cu|cx|cy|cz|de|dk|dm|do|dz|ec|ee|eg|es|et|fi|fm|fr|gb|gd|ge|gf|gh|gl|gp|gr|gt|gu|gy|hk|hn|hr|ht|hu|id|ie|il|in|ir|is|it|jm|jo|jp|ke|kh|kn|kp|kr|kw|ky|kz|lb|lc|li|lk|ls|lt|lu|lv|ma|mc|md|me|mf|mh|mk|mn|mo|mp|mq|mr|mt|mu|mv|mw|mx|my|ng|ni|nl|no|np|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pr|pt|pw|py|qa|re|ro|rs|ru|rw|sa|se|sg|si|sk|sn|sr|sv|sy|tc|td|tg|th|tn|tr|tt|tw|tz|ua|ug|us|uy|uz|vc|ve|vi|vn|vu|wf|ws|ye|yt|za|zw)</regex> </constraint> <constraintErrorMessage>Invalid ISO/IEC 3166-1 Country Code</constraintErrorMessage> </properties> |