diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-19 16:51:51 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-08-19 16:52:34 +0200 |
commit | a2b9b7937d07624e76efd9623baba0d57488a95b (patch) | |
tree | 6c779c1dfd95a1f589db60b6ee2dab27fc492f42 /src/conf_mode | |
parent | 7cbec4a80c1b7936ff66de45b0234cc093e7e3fc (diff) | |
download | vyos-1x-a2b9b7937d07624e76efd9623baba0d57488a95b.tar.gz vyos-1x-a2b9b7937d07624e76efd9623baba0d57488a95b.zip |
wifi: T5470: improve error message
(cherry picked from commit ffb798b4678f3b1bd0a40cc42b1f0477470346dc)
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 2 |
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: |