diff options
author | Ermal <eri@pfsense.org> | 2013-12-06 19:16:34 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-06 19:16:34 +0000 |
commit | 0c21eb70b6f830e2c1edc06597c2e0bd443ed855 (patch) | |
tree | 44ec1b7260627acf632391edb9814fb5eb5401f0 /etc/inc/openvpn.inc | |
parent | 86c135def224d010ac057f283b3a02f9699cb91a (diff) | |
download | pfsense-0c21eb70b6f830e2c1edc06597c2e0bd443ed855.zip pfsense-0c21eb70b6f830e2c1edc06597c2e0bd443ed855.tar.gz |
Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.
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 649baad..da4f5ce 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") && (strstr($settings['interface'], "@") && get_carp_interface_status($settings['interface']) == "BACKUP")) + if (($mode == "client") && (strstr($settings['interface'], "_vip") && get_carp_interface_status($settings['interface']) == "BACKUP")) return; /* Check if client is bound to a gateway group */ |