Update MAC address database

pull/690/head
Simon Stürz 2024-12-19 13:45:41 +01:00
parent 4fe03a10ea
commit e64c7959e4
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.