diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-19 22:14:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 22:14:22 +0300 |
commit | f70e2b69a5ba80abda044ad4f9cdc5a345bce2fd (patch) | |
tree | 6c779c1dfd95a1f589db60b6ee2dab27fc492f42 /src | |
parent | 7cbec4a80c1b7936ff66de45b0234cc093e7e3fc (diff) | |
parent | a2b9b7937d07624e76efd9623baba0d57488a95b (diff) | |
download | vyos-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')
-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: |