mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-28 15:21:11 +00:00
macdata can be a string, ignore that as well
This commit is contained in:
@@ -4696,7 +4696,7 @@ sub parseboard {
|
||||
my $macdata = $boardinf{extra}->[6]->{value};
|
||||
my $macstring = "1";
|
||||
my $macprefix;
|
||||
while ($macdata and $macstring !~ /00:00:00:00:00:00/ and not ref $global_sessdata->{currmacs}) {
|
||||
while ($macdata and ref $macdata and $macstring !~ /00:00:00:00:00:00/ and not ref $global_sessdata->{currmacs}) {
|
||||
my @currmac = splice @$macdata, 0, 6;
|
||||
unless ((scalar @currmac) == 6) {
|
||||
last;
|
||||
|
Reference in New Issue
Block a user