diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-07 21:37:06 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-07 21:37:06 +0100 |
commit | 4bda9cabba26176d5abdad6b65b793e429fb763c (patch) | |
tree | 4e40f4f52a16e440f6b50ea984e45d0e72aaed09 /src | |
parent | 4bf7f2b5a1d5e41726c0f9378dff18708e8df0d3 (diff) | |
download | vyos-1x-4bda9cabba26176d5abdad6b65b793e429fb763c.tar.gz vyos-1x-4bda9cabba26176d5abdad6b65b793e429fb763c.zip |
wireless: T2107: fix connecting to networks without passphrase
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 2e82c6fc9..30074af78 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -760,6 +760,8 @@ network={ ssid="{{ ssid }}" {%- if sec_wpa_passphrase %} psk="{{ sec_wpa_passphrase }}" +{% else %} + key_mgmt=NONE {% endif %} } |