1
0
mirror of synced 2026-01-14 23:45:13 +00:00

2006-09-11 16:14:37 by steve

BUGFIX:  vif=xxx, is broken - we only add the "," when using mac addresses
This commit is contained in:
steve 2006-09-11 16:14:37 +00:00
parent b3d53f25ec
commit 9c102bc9ca

View File

@ -61,10 +61,11 @@ name = '{$hostname}'
my $m = '';
if ( $mac )
{
$m = "mac=$mac"
$m = ",mac=$mac"
}
$OUT .= "vif = [ 'ip=$ip1,$m' ]";
$OUT .= "vif = [ 'ip=$ip1";
$OUT .= "$m' ]";
}
}