diff options
-rwxr-xr-x | src/conf_mode/interfaces-macsec.py | 2 |
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 |