diff options
author | Ermal <eri@pfsense.org> | 2013-12-05 16:18:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-05 16:18:19 +0000 |
commit | af93d29a09cc9bb81c7ad01db5c2ebf4a98a6b39 (patch) | |
tree | e2e5708484cbfa6ca8dca0f5006fa6b8f7863f0a /etc/inc/openvpn.inc | |
parent | 9cdc1caf5345a550bdd11360f99067bfbf9f5226 (diff) | |
download | pfsense-af93d29a09cc9bb81c7ad01db5c2ebf4a98a6b39.zip pfsense-af93d29a09cc9bb81c7ad01db5c2ebf4a98a6b39.tar.gz |
Make more strict checks
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 777fc65..649baad 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -811,7 +811,7 @@ function openvpn_restart($mode, $settings) { return; /* Do not start a client if we are a CARP backup on this vip! */ - if (($mode == "client") && (get_carp_interface_status($settings['interface']) == "BACKUP")) + if (($mode == "client") && (strstr($settings['interface'], "@") && get_carp_interface_status($settings['interface']) == "BACKUP")) return; /* Check if client is bound to a gateway group */ |