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:51:51 +0200 |
commit | ffb798b4678f3b1bd0a40cc42b1f0477470346dc (patch) | |
tree | 34f1b6a16ddf42a7659599ccfe1835eb4701ec21 /src/conf_mode | |
parent | 7bae85fd670dce0c4708011af7523f1e56c1054a (diff) | |
download | vyos-1x-ffb798b4678f3b1bd0a40cc42b1f0477470346dc.tar.gz vyos-1x-ffb798b4678f3b1bd0a40cc42b1f0477470346dc.zip |
wifi: T5470: improve error message
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 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: |