summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiga Murphy <giga1699@gmail.com>2023-08-20 19:13:04 +0000
committerGiga Murphy <giga1699@gmail.com>2023-08-20 19:13:04 +0000
commit007942130b3e9b86391fd08c3e372002afc6025e (patch)
treeafb065ec975f524bda71c5219842e8808424d02f /src
parentb4bacbaa2b57644f141f9b53531317c2e6db7040 (diff)
downloadvyos-1x-007942130b3e9b86391fd08c3e372002afc6025e.tar.gz
vyos-1x-007942130b3e9b86391fd08c3e372002afc6025e.zip
T5447: Adjust to positive logic in generare()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index ebe46f0c7..0a927ac88 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -160,7 +160,7 @@ def verify(macsec):
def generate(macsec):
# Only generate wpa_supplicant config if using MKA
- if dict_search('security.static', macsec) == None:
+ if dict_search('security.mka.cak', macsec):
render(wpa_suppl_conf.format(**macsec), 'macsec/wpa_supplicant.conf.j2', macsec)
return None