diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-07-21 18:57:08 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-07-21 18:57:08 -0300 |
commit | ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f (patch) | |
tree | 0d1d509d76c8a1e3e5dd32cdd8328132801ed5fe /etc | |
parent | 604623a136fc7b8eaa704f3962d886ba84cf1333 (diff) | |
download | pfsense-ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f.zip pfsense-ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f.tar.gz |
Concat var before call escapeshellarg
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 2 |
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}")); } } |