diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-21 19:19:14 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-21 19:19:14 +0200 |
commit | daede323ce4bf04cd4191d9ec4ce0239e4ec6d85 (patch) | |
tree | 2014f49c538c084aa0b263c6a2ee0dfb3daf3811 | |
parent | 49defb01143eb032b143ecee8ee0e7d007d6b0f2 (diff) | |
download | vyos-1x-daede323ce4bf04cd4191d9ec4ce0239e4ec6d85.tar.gz vyos-1x-daede323ce4bf04cd4191d9ec4ce0239e4ec6d85.zip |
pppoe: T2380: fix NameError: name 'intf' is not defined
-rwxr-xr-x | src/conf_mode/interfaces-pppoe.py | 2 |
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 |