Skip to content

Commit

Permalink
Fix vendor name not parsed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Aug 6, 2024
1 parent 30893e3 commit ca511f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nav/oui_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ def _parse_line(line: str) -> OUI:
line = line.strip()
split_line = line.split()
oui = split_line[0] + "-00-00-00"
split_vendor = split_line[3:]
split_vendor = split_line[2:]
vendor = " ".join(split_vendor)
return OUI(oui=oui, vendor=vendor)

0 comments on commit ca511f9

Please sign in to comment.