diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-16 19:07:46 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-16 19:07:46 +0000 |
commit | fb28aeb02582f923762c8d872dfee05d512b4f32 (patch) | |
tree | 3b650db457453a9284a1b6e8bf94aa42f646041c /config | |
parent | 0f3a1914e4ac1fa51cd6502d70fd14e593bb0e26 (diff) | |
download | pfsense-packages-fb28aeb02582f923762c8d872dfee05d512b4f32.tar.gz pfsense-packages-fb28aeb02582f923762c8d872dfee05d512b4f32.tar.bz2 pfsense-packages-fb28aeb02582f923762c8d872dfee05d512b4f32.zip |
Do not show disabled entries too. The OpenVPN API assumes that.
Diffstat (limited to 'config')
-rwxr-xr-x | config/openvpn-client-export/vpn_openvpn_export.php | 2 |
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; |