From d5d4f68129fb0d28209c53336417ed2d36c4b1c1 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 1 Jul 2020 15:37:18 -0500 Subject: config: T2667: add missing flag --- src/conf_mode/interfaces-pppoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interfaces-pppoe.py') diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index 1194ceb89..3ee57e83c 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -50,7 +50,7 @@ def get_config(): ifname = os.environ['VYOS_TAGNODE_VALUE'] base = base + [ifname] - pppoe = conf.get_config_dict(base, key_mangling=('-', '_')) + pppoe = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) # Check if interface has been removed if pppoe == {}: pppoe.update({'deleted' : ''}) -- cgit v1.2.3