Changed getmacs output format - Line #304

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2007-12-19 20:35:49 +00:00
parent 1188428529
commit a69ec2f2c8

View File

@ -232,7 +232,6 @@ sub getmacs {
my $exp = shift;
my $opt = $request->{opt};
my $hwtype = @$exp[2];
my @output;
my $result;
#########################################
@ -303,11 +302,8 @@ sub getmacs {
# and not with others.
#####################################
my $values;
foreach ( @$result ) {
if ( /^#\s*Type|^ent/ ) {
$values.= "\n$_";
}
$values.= "\n$_";
}
return( [[$name,$values]] );
}