summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-22 11:22:27 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-22 11:22:27 +0200
commitfee52f5add71508365a09b64d117f5220a9bdd77 (patch)
tree6fbf8fe0550bb760d859ae6b06c791b23bb41988 /src/conf_mode/interfaces-pppoe.py
parent9ed0cc8221778b3fdcb9f4fab4421eaca0d06a6d (diff)
downloadvyos-1x-fee52f5add71508365a09b64d117f5220a9bdd77.tar.gz
vyos-1x-fee52f5add71508365a09b64d117f5220a9bdd77.zip
pppoe: T2488: bugfix, missing not in if condition prevented startup
Commit 39c53aadbf9e ("pppoe: T2488: remove logfile generation") accidently missed a not in an if statement.
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-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 d58ce99cc..6cde850c9 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -236,7 +236,7 @@ def apply(pppoe):
# bail out early
return None
- if pppoe['disable']:
+ if not pppoe['disable']:
# Dial PPPoE connection
call('systemctl restart ppp@{intf}.service'.format(**pppoe))