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:
@@ -61,10 +61,11 @@ name = '{$hostname}'
|
|||||||
my $m = '';
|
my $m = '';
|
||||||
if ( $mac )
|
if ( $mac )
|
||||||
{
|
{
|
||||||
$m = "mac=$mac"
|
$m = ",mac=$mac"
|
||||||
}
|
}
|
||||||
|
|
||||||
$OUT .= "vif = [ 'ip=$ip1,$m' ]";
|
$OUT .= "vif = [ 'ip=$ip1";
|
||||||
|
$OUT .= "$m' ]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user