make xcattest can recognize MAC addr in conf file

This commit is contained in:
huweihua 2014-12-11 00:57:31 -05:00
parent 64cea6d8b1
commit c370b7e2ac

View File

@ -192,7 +192,7 @@ sub getConfig
}
}elsif ($type eq "Object") {
##OBJECT BLOCK##
if($line =~ /(\w+)\s*=\s*([\w\.\-]+)/) {
if($line =~ /(\w+)\s*=\s*([:\w\.\-]+)/) {
$attr = $1;
$value = $2;
if($attr eq "Name"){