Project

General

Profile

« Previous | Next » 

Revision 7238e0cf

Added by Ermal LUÇI over 11 years ago

Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code

View differences:

etc/inc/pfsense-utils.inc
2531 2531

  
2532 2532
		foreach($interface_list_ips as $if => $ilips) {
2533 2533
			/* Also ignore CARP interfaces, it'll be checked below */
2534
			if (($ignore_if == $if) || preg_match('/_vip[0-9]/', $if))
2534
			if ($ignore_if == $if)
2535 2535
				continue;
2536 2536
			if (strcasecmp($ipaddr, $ilips) == 0)
2537 2537
				return true;
2538 2538
		}
2539 2539
	}
2540 2540

  
2541
	/* XXX: Need to correct this! */
2541 2542
	$interface_list_vips = get_configured_vips_list(true);
2542 2543
	foreach ($interface_list_vips as $id => $vip) {
2543 2544
		if ($ignore_if == "vip_{$id}")

Also available in: Unified diff