Skip to content

Commit

Permalink
Merge branch 'dev' into issue/180
Browse files Browse the repository at this point in the history
  • Loading branch information
kengu authored Feb 20, 2024
2 parents 5a3bcea + 917ef41 commit a437aaa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/src/device_info/vendor_table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ class VendorTable {
if (arpData.notNullMacAddress) {
await createVendorTableMap();
final pattern = arpData.macAddress.contains(':') ? ':' : '-';
return _vendorTableMap[
arpData.macAddress.split(pattern).sublist(0, 3).join()] as Vendor?;
return _vendorTableMap[arpData.macAddress
.split(pattern)
.sublist(0, 3)
.join()
.toUpperCase()] as Vendor?;
}
}
return null;
Expand Down

0 comments on commit a437aaa

Please sign in to comment.