summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/conf_mode/interface-openvpn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf_mode/interface-openvpn.py b/src/conf_mode/interface-openvpn.py
index 47257e9d7..7057d3369 100755
--- a/src/conf_mode/interface-openvpn.py
+++ b/src/conf_mode/interface-openvpn.py
@@ -796,7 +796,7 @@ def verify(openvpn):
return None
def generate(openvpn):
- if openvpn['deleted']:
+ if openvpn['deleted'] or openvpn['disable']:
return None
interface = openvpn['intf']
@@ -844,7 +844,6 @@ def generate(openvpn):
return None
-
def apply(openvpn):
interface = openvpn['intf']