Merge PR #690: Update MAC address database

This commit is contained in:
jenkins 2024-12-20 13:39:09 +01:00
commit 889f268eb4
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ for vendorInfo in sortedVendorHash:
connection.commit()
# Insert all oui with reference to company name
print('Writing OUI into database with company name refference...')
print('Writing OUI into database with company name reference...')
# Sort by oui for good binary search in the db
sortedOuiHash = sorted(vendorInfoHash.items(), key=lambda x: x[0], reverse=False)
ouiCount = 0
@ -124,4 +124,4 @@ for vendorInfo in sortedOuiHash:
connection.commit()
connection.close()
print('Finished successfully. Loaded', ouiCount, 'OUI values from', vendorCount, 'manufacturers into', databaseFileName)
print('Finished successfully. Loaded', ouiCount, 'OUI values from', vendorCount, 'manufacturers into', databaseFileName)

Binary file not shown.