summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-08-19 22:14:22 +0300
committerGitHub <noreply@github.com>2023-08-19 22:14:22 +0300
commitf70e2b69a5ba80abda044ad4f9cdc5a345bce2fd (patch)
tree6c779c1dfd95a1f589db60b6ee2dab27fc492f42 /src/conf_mode/interfaces-wireless.py
parent7cbec4a80c1b7936ff66de45b0234cc093e7e3fc (diff)
parenta2b9b7937d07624e76efd9623baba0d57488a95b (diff)
downloadvyos-1x-f70e2b69a5ba80abda044ad4f9cdc5a345bce2fd.tar.gz
vyos-1x-f70e2b69a5ba80abda044ad4f9cdc5a345bce2fd.zip
Merge pull request #2158 from c-po/t5470-wifi-equuleus
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 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: