summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-13 00:43:07 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-13 00:43:07 -0500
commita4b55d111c3df02dc0819669beefd61492af0232 (patch)
treee9008d46d5b4dbf15239265dc890d9c04e91dc95 /src/etc/inc/gwlb.inc
parentea940381fad58bc3de95c552a251f1c10cc2b924 (diff)
downloadpfsense-a4b55d111c3df02dc0819669beefd61492af0232.zip
pfsense-a4b55d111c3df02dc0819669beefd61492af0232.tar.gz
Fix scope for IPv6 link local gateway IPs. Ticket #6353
Diffstat (limited to 'src/etc/inc/gwlb.inc')
-rw-r--r--src/etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc
index 4070c9d..cbdceb5 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'])) {
OpenPOWER on IntegriCloud