diff options
Diffstat (limited to 'config/tinc/tinc.inc')
-rw-r--r-- | config/tinc/tinc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc index 3280c414..bf4101d7 100644 --- a/config/tinc/tinc.inc +++ b/config/tinc/tinc.inc @@ -170,7 +170,7 @@ function tinc_deinstall() { { $realif = get_real_interface($ifs); if ($realif) - mwexec("/sbin/ifconfig {$realif} -group " . $a_ifgroups[$_GET['id']]['ifname']); + mwexec("/sbin/ifconfig {$realif} -group " . escapeshellarg($a_ifgroups[$_GET['id']]['ifname'])); } unset($a_ifgroups[$myid]); mwexec("/bin/rm -f /tmp/config.cache"); |