summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-07-01 15:37:18 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-07-01 15:37:18 -0500
commitd5d4f68129fb0d28209c53336417ed2d36c4b1c1 (patch)
tree297ffd38a9c55b197a6a23f873a6040d35471377 /src/conf_mode
parenta088c20d20ecb3735c19ee19010741073f24cba0 (diff)
downloadvyos-1x-d5d4f68129fb0d28209c53336417ed2d36c4b1c1.tar.gz
vyos-1x-d5d4f68129fb0d28209c53336417ed2d36c4b1c1.zip
config: T2667: add missing flag
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py2
1 files changed, 1 insertions, 1 deletions
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' : ''})