summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-08 18:21:50 -0400
committerjim-p <jimp@pfsense.org>2012-05-08 18:22:12 -0400
commit30274157b2361f0fac14f0eaa86ae08dc02678a7 (patch)
tree8ff7de6cb0087db653ca09999c267f4619c4c0b7 /etc/inc/openvpn.inc
parent8a4b381f579a8b5ee67aab4c4f3964cdc64fec92 (diff)
downloadpfsense-30274157b2361f0fac14f0eaa86ae08dc02678a7.zip
pfsense-30274157b2361f0fac14f0eaa86ae08dc02678a7.tar.gz
Revert "Make vips vhid be unique per parent interface!" - per cmb, this should not have been on RELENG_2_0 see ticket #2415
This reverts commit 4d0c032c528b10221a2ef894b5eca34f6fda39a7. Conflicts: etc/inc/openvpn.inc etc/inc/upgrade_config.inc etc/rc.filter_synchronize
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index f4001ec..9e32853 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -626,7 +626,7 @@ function openvpn_restart($mode, $settings) {
return;
/* Do not start if we are a CARP backup on this vip! */
- if (strstr($settings['interface'], "_vip") && (get_carp_interface_status($settings['interface']) == "BACKUP"))
+ if ((substr($settings['interface'], 0, 3) == "vip") && (get_carp_interface_status($settings['interface']) == "BACKUP"))
return;
/* start the new process */
OpenPOWER on IntegriCloud