Add debug print statement to MAC vendor lookup for troubleshooting
This commit is contained in:
parent
bca346ac5a
commit
45b33dc48b
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ def get_mac_vendor(mac):
|
|||
urllib.request.urlretrieve(url, "oui.txt")
|
||||
with open("oui.txt", "r", encoding="utf-8", errors="ignore") as f:
|
||||
for line in f:
|
||||
print(repr(line))
|
||||
if line.strip().endswith("(hex)"):
|
||||
parts = line.split()
|
||||
if len(parts) >= 3:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue