summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-macsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-01 20:59:17 +0200
committerGitHub <noreply@github.com>2020-07-01 20:59:17 +0200
commit3c973c0852de9342a94ae3df7c3d927b0a600032 (patch)
treefe703729f5f50799fff70a5b9cc53fa16393521b /src/conf_mode/interfaces-macsec.py
parent9afc69f83f5e6f44751c3d6c546ea7614baff41c (diff)
parentb4a60249f5c26da1d5d837de9122d7d87948507b (diff)
downloadvyos-1x-3c973c0852de9342a94ae3df7c3d927b0a600032.tar.gz
vyos-1x-3c973c0852de9342a94ae3df7c3d927b0a600032.zip
Merge pull request #486 from jestabro/sub_dict
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-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 2f14b6a92..56273f71a 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -53,7 +53,7 @@ def get_config():
ifname = os.environ['VYOS_TAGNODE_VALUE']
base = base + [ifname]
- macsec = conf.get_config_dict(base, key_mangling=('-', '_'))
+ macsec = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True)
# Check if interface has been removed
if macsec == {}:
tmp = {