diff options
author | Ermal <eri@pfsense.org> | 2013-08-16 19:35:13 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-08-16 19:35:34 +0000 |
commit | 42f33846eb549dfc39d08187ef3ec28fae211168 (patch) | |
tree | f811780860e8f76c2cfd8f4cfdc928aba1fe2fbc /etc/inc/gwlb.inc | |
parent | f7ff77fa80f3664be8624f70529c845b0035f6fb (diff) | |
download | pfsense-42f33846eb549dfc39d08187ef3ec28fae211168.zip pfsense-42f33846eb549dfc39d08187ef3ec28fae211168.tar.gz |
Add scope identifier to target when its link-local
Diffstat (limited to 'etc/inc/gwlb.inc')
-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 |