mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add scope identifier to target when its link-local
This commit is contained in:
parent
f7ff77fa80
commit
42f33846eb
@ -169,6 +169,8 @@ EOD;
|
||||
} else {
|
||||
$gwifip = find_interface_ipv6($gateway['interface'], true);
|
||||
}
|
||||
if (is_linklocal($gateway['monitor']) && !strstr($gateway['monitor'], '%'))
|
||||
$gateway['monitor'] .= "{$gateway['monitor']}%{$gateway['interface']}";
|
||||
if (!is_ipaddrv6($gwifip))
|
||||
continue; //Skip this target
|
||||
} else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user