Project

General

Profile

« Previous | Next » 

Revision 7b47bd4c

Added by Ermal LUÇI about 13 years ago

Make vips vhid be unique per parent interface!

View differences:

etc/inc/openvpn.inc
673 673
		return;
674 674

  
675 675
	/* Do not start if we are a CARP backup on this vip! */
676
	if ((substr($settings['interface'], 0, 3) == "vip") && (get_carp_interface_status($settings['interface']) == "BACKUP"))
676
	if ((strstr($settings['interface'], "_vip") && (get_carp_interface_status($settings['interface']) == "BACKUP"))
677 677
		return;
678 678

  
679 679
	/* start the new process */

Also available in: Unified diff