summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-19 16:51:51 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-19 16:51:51 +0200
commitffb798b4678f3b1bd0a40cc42b1f0477470346dc (patch)
tree34f1b6a16ddf42a7659599ccfe1835eb4701ec21 /src/conf_mode/interfaces-wireless.py
parent7bae85fd670dce0c4708011af7523f1e56c1054a (diff)
downloadvyos-1x-ffb798b4678f3b1bd0a40cc42b1f0477470346dc.tar.gz
vyos-1x-ffb798b4678f3b1bd0a40cc42b1f0477470346dc.zip
wifi: T5470: improve error message
Diffstat (limited to 'src/conf_mode/interfaces-wireless.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index e49ad25ac..29ab9713f 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -116,7 +116,7 @@ def verify(wifi):
raise ConfigError('You must specify a WiFi mode')
if 'ssid' not in wifi and wifi['type'] != 'monitor':
- raise ConfigError('SSID must be configured')
+ raise ConfigError('SSID must be configured unless type is set to "monitor"!')
if wifi['type'] == 'access-point':
if 'country_code' not in wifi: