From 42f33846eb549dfc39d08187ef3ec28fae211168 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 16 Aug 2013 19:35:13 +0000 Subject: [PATCH] Add scope identifier to target when its link-local --- etc/inc/gwlb.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index e310fd7f25..3dd13f9c0e 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -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