mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
rework prev
This commit is contained in:
parent
df3e42b2d8
commit
983ae690cb
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user