summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.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/system.inc
parent612170a7ac870d1276d967027e8fef72a185a270 (diff)
downloadpfsense-d28cd156d3d5d27c5ae621a9f9d348a516dad67e.zip
pfsense-d28cd156d3d5d27c5ae621a9f9d348a516dad67e.tar.gz
Make fe80: addresses check case insensitive
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 6299922..58793eb 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -440,7 +440,7 @@ function system_routing_configure($interface = "") {
;
else if (($interfacegwv6 <> "bgpd") && (is_ipaddrv6($gatewayipv6))) {
$ifscope = "";
- if(preg_match("/fe80::/i", $gatewayipv6))
+ if(preg_match("/fe80:/i", $gatewayipv6))
$ifscope = "%{$defaultifv6}";
log_error("ROUTING: setting IPv6 default route to {$gatewayipv6}{$ifscope}");
mwexec("/sbin/route change -inet6 default " . escapeshellarg($gatewayipv6) ."{$ifscope}");
OpenPOWER on IntegriCloud