summaryrefslogtreecommitdiff
diff options
context:
space:
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' : ''})