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/interfaces-wirelessmodem.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/interfaces-wirelessmodem.py')
-rwxr-xr-x | src/conf_mode/interfaces-wirelessmodem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index 57f39760b..9d4fa73a1 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -62,7 +62,7 @@ def get_config(): ifname = os.environ['VYOS_TAGNODE_VALUE'] base = base + [ifname] - wwan = conf.get_config_dict(base, key_mangling=('-', '_')) + wwan = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) # Check if interface has been removed if wwan == {}: wwan.update({'deleted' : ''}) |