aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/vpn_openvpn_export.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/openvpn-client-export/vpn_openvpn_export.php b/config/openvpn-client-export/vpn_openvpn_export.php
index 1d8a6956..402811a3 100755
--- a/config/openvpn-client-export/vpn_openvpn_export.php
+++ b/config/openvpn-client-export/vpn_openvpn_export.php
@@ -47,6 +47,8 @@ $a_user = $config['system']['user'];
$ras_server = array();
foreach($a_server as $sindex => & $server) {
+ if (isset($server['disable']))
+ continue;
$ras_user = array();
if (stripos($server['mode'], "server") === false)
continue;