diff options
author | John Estabrook <jestabro@vyos.io> | 2020-07-01 12:46:06 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-07-01 13:27:07 -0500 |
commit | b4a60249f5c26da1d5d837de9122d7d87948507b (patch) | |
tree | db8230110cf92270c8fa593ed2625bcd0c8c785d /src/conf_mode/vrf.py | |
parent | 059dffb03e9cc9e8f411345bdd2a720026760666 (diff) | |
download | vyos-1x-b4a60249f5c26da1d5d837de9122d7d87948507b.tar.gz vyos-1x-b4a60249f5c26da1d5d837de9122d7d87948507b.zip |
config: T2667: adapt for refinements to get_config_dict
Diffstat (limited to 'src/conf_mode/vrf.py')
-rwxr-xr-x | src/conf_mode/vrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vrf.py b/src/conf_mode/vrf.py index e8f523e36..d3327b3c7 100755 --- a/src/conf_mode/vrf.py +++ b/src/conf_mode/vrf.py @@ -52,7 +52,7 @@ def vrf_interfaces(c, match): matched = [] old_level = c.get_level() c.set_level(['interfaces']) - section = c.get_config_dict([]) + section = c.get_config_dict([], get_first_key=True) for type in section: interfaces = section[type] for name in interfaces: |