aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-02-18 16:09:29 -0500
committerjim-p <jimp@pfsense.org>2014-02-18 16:10:36 -0500
commit48a6f785e551967611ca49f40c05d1a567dd628e (patch)
treebbc0ef23bf059bd58187ae1a537ee57451c59394 /config
parent74f02a79cc94a22ad12d212c70d0970cf61e50f9 (diff)
downloadpfsense-packages-48a6f785e551967611ca49f40c05d1a567dd628e.tar.gz
pfsense-packages-48a6f785e551967611ca49f40c05d1a567dd628e.tar.bz2
pfsense-packages-48a6f785e551967611ca49f40c05d1a567dd628e.zip
Use escapeshellarg for tinc here.
Diffstat (limited to 'config')
-rw-r--r--config/tinc/tinc.inc2
-rw-r--r--config/tinc/tinc.xml2
2 files changed, 2 insertions, 2 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");
diff --git a/config/tinc/tinc.xml b/config/tinc/tinc.xml
index 90581513..7c067361 100644
--- a/config/tinc/tinc.xml
+++ b/config/tinc/tinc.xml
@@ -42,7 +42,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tinc</name>
- <version>1.0.19</version>
+ <version>1.0.21 v1.1</version>
<title>VPN: tinc</title>
<!-- Menu is where this packages menu will appear -->
<menu>