diff options
| author | Giga Murphy <giga1699@gmail.com> | 2023-08-20 19:13:04 +0000 | 
|---|---|---|
| committer | Giga Murphy <giga1699@gmail.com> | 2023-08-20 19:13:04 +0000 | 
| commit | 007942130b3e9b86391fd08c3e372002afc6025e (patch) | |
| tree | afb065ec975f524bda71c5219842e8808424d02f | |
| parent | b4bacbaa2b57644f141f9b53531317c2e6db7040 (diff) | |
| download | vyos-1x-007942130b3e9b86391fd08c3e372002afc6025e.tar.gz vyos-1x-007942130b3e9b86391fd08c3e372002afc6025e.zip | |
T5447: Adjust to positive logic in generare()
| -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 | 
