summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2011-09-03 12:20:08 +0200
committersmos <seth.mos@dds.nl>2011-09-03 12:20:08 +0200
commit02091d234da2ee7c27619d802cf75931707ab85d (patch)
tree9ca91ff8aee582fc4e514a2c282b57ea23d10391
parentea91a8c0c2c92782e7c202f9054789e64490b1c7 (diff)
downloadpfsense-02091d234da2ee7c27619d802cf75931707ab85d.zip
pfsense-02091d234da2ee7c27619d802cf75931707ab85d.tar.gz
Encapsulate in curlies for safety
-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 12c2c00..3d09273 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -417,7 +417,7 @@ function system_routing_configure($interface = "") {
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");
+ mwexec("/sbin/route change -inet6 default " . escapeshellarg($gatewayipv6) ."{$ifscope}");
}
}
OpenPOWER on IntegriCloud