summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 19:19:14 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-21 19:19:14 +0200
commitdaede323ce4bf04cd4191d9ec4ce0239e4ec6d85 (patch)
tree2014f49c538c084aa0b263c6a2ee0dfb3daf3811
parent49defb01143eb032b143ecee8ee0e7d007d6b0f2 (diff)
downloadvyos-1x-daede323ce4bf04cd4191d9ec4ce0239e4ec6d85.tar.gz
vyos-1x-daede323ce4bf04cd4191d9ec4ce0239e4ec6d85.zip
pppoe: T2380: fix NameError: name 'intf' is not defined
-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 f58095f13..d58ce99cc 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -238,7 +238,7 @@ def apply(pppoe):
if pppoe['disable']:
# Dial PPPoE connection
- call(f'systemctl restart ppp@{intf}.service'.format(**pppoe))
+ call('systemctl restart ppp@{intf}.service'.format(**pppoe))
return None