From fee52f5add71508365a09b64d117f5220a9bdd77 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 May 2020 11:22:27 +0200 Subject: 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. --- src/conf_mode/interfaces-pppoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3