summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-08-16 19:35:13 +0000
committerErmal <eri@pfsense.org>2013-08-16 19:35:13 +0000
commit7d3eaae20574e7972ffcdb15d95cc130b717966c (patch)
tree49f51fff3007440d837b902fa67cef0c8341b30c
parent68b0311cc13b0573ed1f8c8d9095b8d8fe920beb (diff)
downloadpfsense-7d3eaae20574e7972ffcdb15d95cc130b717966c.zip
pfsense-7d3eaae20574e7972ffcdb15d95cc130b717966c.tar.gz
Add scope identifier to target when its link-local
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index e310fd7..3dd13f9 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
OpenPOWER on IntegriCloud