Fix scope for IPv6 link local gateway IPs. Ticket #6353

This commit is contained in:
Chris Buechler 2016-05-13 00:43:07 -05:00
parent 857f349086
commit 3ded329e23

View File

@ -261,7 +261,7 @@ function setup_gateways_monitor() {
} else if ($gateway['ipprotocol'] == "inet6") { // This is an IPv6 gateway...
if (is_linklocal($gateway['gateway']) &&
get_ll_scope($gateway['gateway']) == '') {
$gateways_arr[$gwname]['gateway'] .= '%' . $gateway['interface'];
$gateway['gateway'] .= '%' . $gateway['interface'];
}
if (is_linklocal($gateway['monitor'])) {