summaryrefslogtreecommitdiff
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:52:34 +0200
commita2b9b7937d07624e76efd9623baba0d57488a95b (patch)
tree6c779c1dfd95a1f589db60b6ee2dab27fc492f42
parent7cbec4a80c1b7936ff66de45b0234cc093e7e3fc (diff)
downloadvyos-1x-a2b9b7937d07624e76efd9623baba0d57488a95b.tar.gz
vyos-1x-a2b9b7937d07624e76efd9623baba0d57488a95b.zip
wifi: T5470: improve error message
(cherry picked from commit ffb798b4678f3b1bd0a40cc42b1f0477470346dc)
-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 7e967ed79..b1639e0f4 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -136,7 +136,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: