* Added a check to Network->get_company_from_mac() to manually set the company to KVM/qemu if the prefix is 52:54:00.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent 02c3d204ea
commit 4dc1b0e117
  1. 5
      Anvil/Tools/Network.pm

@ -1662,6 +1662,11 @@ sub get_company_from_mac
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { company => $company }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { company => $company }});
} }
if ((not $company) && ($mac =~ /^52:54:00/))
{
$company = "KVM/qemu";
}
return($company); return($company);
} }

Loading…
Cancel
Save