diff options
Diffstat (limited to 'src/conf_mode/interfaces-loopback.py')
-rwxr-xr-x | src/conf_mode/interfaces-loopback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-loopback.py b/src/conf_mode/interfaces-loopback.py index 7c3d8663d..2368f88a9 100755 --- a/src/conf_mode/interfaces-loopback.py +++ b/src/conf_mode/interfaces-loopback.py @@ -35,7 +35,7 @@ def get_config(): ifname = os.environ['VYOS_TAGNODE_VALUE'] base = ['interfaces', 'loopback', ifname] - loopback = conf.get_config_dict(base, key_mangling=('-', '_')) + loopback = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) # Check if interface has been removed if loopback == {}: loopback.update({'deleted' : ''}) |