summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-04-14 14:36:25 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-04-14 14:36:25 -0300
commitd28cd156d3d5d27c5ae621a9f9d348a516dad67e (patch)
tree29381c1f61c56f252b728eeec194128c1a9537e4 /etc/inc/gwlb.inc
parent612170a7ac870d1276d967027e8fef72a185a270 (diff)
downloadpfsense-d28cd156d3d5d27c5ae621a9f9d348a516dad67e.zip
pfsense-d28cd156d3d5d27c5ae621a9f9d348a516dad67e.tar.gz
Make fe80: addresses check case insensitive
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index adce745..4e9ca84 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -165,7 +165,7 @@ EOD;
continue; //Skip this target
} else if (is_ipaddrv6($gateway['gateway'])) {
/* link locals really need a different src ip */
- if(preg_match("/fe80::/i", $gateway['gateway'])) {
+ if(preg_match("/fe80:/i", $gateway['gateway'])) {
$linklocal = explode("%", find_interface_ipv6_ll($gateway['interface'], true));
$gwifip = $linklocal[0];
$ifscope = "%". $linklocal[1];
OpenPOWER on IntegriCloud