From 007942130b3e9b86391fd08c3e372002afc6025e Mon Sep 17 00:00:00 2001 From: Giga Murphy Date: Sun, 20 Aug 2023 19:13:04 +0000 Subject: T5447: Adjust to positive logic in generare() --- src/conf_mode/interfaces-macsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') 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 -- cgit v1.2.3