summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-04 20:55:25 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-15 18:00:56 +0200
commitdf704a7cb884e879d8c905782aaf869daab31fab (patch)
tree16d555037ca208c64407f7d753956dc27e26f8c9
parent84f96733bb405453a66557322e43cc566f9ad29b (diff)
downloadvyos-1x-df704a7cb884e879d8c905782aaf869daab31fab.tar.gz
vyos-1x-df704a7cb884e879d8c905782aaf869daab31fab.zip
macsec: T4537: macsec_csindex can be set even without encryption
(cherry picked from commit 0943ac00412b0049b7a20a54e27e7b8025726598)
-rw-r--r--data/templates/macsec/wpa_supplicant.conf.tmpl6
1 files changed, 0 insertions, 6 deletions
diff --git a/data/templates/macsec/wpa_supplicant.conf.tmpl b/data/templates/macsec/wpa_supplicant.conf.tmpl
index 04f3700fc..65747ea6f 100644
--- a/data/templates/macsec/wpa_supplicant.conf.tmpl
+++ b/data/templates/macsec/wpa_supplicant.conf.tmpl
@@ -69,12 +69,6 @@ network={
# mka_priority (Priority of MKA Actor) is in 0..255 range with 255 being
# default priority
mka_priority={{ security.mka.priority }}
-
- # macsec_csindex: IEEE 802.1X/MACsec cipher suite
- # 0 = GCM-AES-128
- # 1 = GCM-AES-256
-{# security.cipher is a mandatory key #}
- macsec_csindex={{ '1' if security.cipher is vyos_defined('gcm-aes-256') else '0' }}
{% endif %}
{% if security.replay_window is defined %}