diff options
author | Ermal <eri@pfsense.org> | 2013-08-16 19:35:13 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-08-16 19:35:13 +0000 |
commit | 7d3eaae20574e7972ffcdb15d95cc130b717966c (patch) | |
tree | 49f51fff3007440d837b902fa67cef0c8341b30c | |
parent | 68b0311cc13b0573ed1f8c8d9095b8d8fe920beb (diff) | |
download | pfsense-7d3eaae20574e7972ffcdb15d95cc130b717966c.zip pfsense-7d3eaae20574e7972ffcdb15d95cc130b717966c.tar.gz |
Add scope identifier to target when its link-local
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
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 |