summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-21 18:57:08 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-21 18:57:08 -0300
commitef74c9e4e403ce1638fc0f9b2a81615b52a2a65f (patch)
tree0d1d509d76c8a1e3e5dd32cdd8328132801ed5fe /etc
parent604623a136fc7b8eaa704f3962d886ba84cf1333 (diff)
downloadpfsense-ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f.zip
pfsense-ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f.tar.gz
Concat var before call escapeshellarg
Diffstat (limited to 'etc')
-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 82036e4..b264aaf 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -479,7 +479,7 @@ function system_routing_configure($interface = "") {
if (is_linklocal($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