summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-18 08:15:19 +0200
committerGitHub <noreply@github.com>2020-04-18 08:15:19 +0200
commitcf1ad0c6e182dc82a8792d8a3af98de1f1b834e9 (patch)
treeaaff64fccfe5b3f2eb874c5d2bf3edfd27aa3a80 /src/conf_mode
parent3b3b33e4ffe46747014342238807bfdacbe74db4 (diff)
parent26010aee52bc95ca0b09a149c2b4add404dd1bef (diff)
downloadvyos-1x-cf1ad0c6e182dc82a8792d8a3af98de1f1b834e9.tar.gz
vyos-1x-cf1ad0c6e182dc82a8792d8a3af98de1f1b834e9.zip
Merge pull request #353 from alainlamar/T2306
feature: T2306: Add new cipher suites to the WiFi configuration
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 498c24df0..1964af6e1 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -442,6 +442,10 @@ def get_config():
wifi['sec_wpa_cipher'].append('CCMP')
wifi['sec_wpa_cipher'].append('TKIP')
+ # WPA Group Cipher suite
+ if conf.exists('security wpa group-cipher'):
+ wifi['sec_wpa_group_cipher'] = conf.return_values('security wpa group-cipher')
+
# WPA personal shared pass phrase
if conf.exists('security wpa passphrase'):
wifi['sec_wpa_passphrase'] = conf.return_value('security wpa passphrase')