Project

General

Profile

etc_inc_interfaces_inc.patch

Eric Veum, 01/13/2020 11:18 AM

View differences:

/etc/inc/interfaces.inc 2020-01-13 10:08:29.262342000 -0700
4147 4147
	$realif = get_real_interface($interface);
4148 4148
	$linklocal = find_interface_ipv6_ll($realif, true);
4149 4149
	if (!empty($linklocal) && $linklocal != "fe80::1:1%{$realif}") {
4150
		mwexec("/sbin/ifconfig {$realif} inet6 {$linklocal} delete");
4150
		mwexec("/sbin/ifconfig {$realif} inet6 fe80::1:1%{$realif} alias");
4151 4151
	}
4152
	/* XXX: This might break for good on a carp installation using link-local as network ips */
4153
	/* XXX: Probably should remove? */
4154
	mwexec("/sbin/ifconfig {$realif} inet6 fe80::1:1%{$realif}");
4155 4152

  
4156 4153
	$trackcfg = $config['interfaces'][$wancfg['track6-interface']];
4157 4154
	if (!isset($trackcfg['enable'])) {