From ef74c9e4e403ce1638fc0f9b2a81615b52a2a65f Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 21 Jul 2014 18:57:08 -0300 Subject: Concat var before call escapeshellarg --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")); } } -- cgit v1.1