Commit 983ae690 authored by Ad Schellevis's avatar Ad Schellevis

rework prev

parent df3e42b2
......@@ -76,7 +76,7 @@ function legacy_interface_create($ifs, $name=null)
{
$cmd = '/sbin/ifconfig ' . escapeshellarg($ifs) . ' create';
if (!empty($name)) {
$cmd .= " name " . $name;
$cmd .= " name " . escapeshellarg($name);
}
$new = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment