From 3ded329e23980d52771cd7194ca31fe3481be21b Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Fri, 13 May 2016 00:43:07 -0500 Subject: [PATCH] Fix scope for IPv6 link local gateway IPs. Ticket #6353 --- src/etc/inc/gwlb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index 4070c9d55a..cbdceb59cf 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -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'])) {