diff --git a/changes/+oui-regex.housekeeping b/changes/+oui-regex.housekeeping new file mode 100644 index 00000000..b707a49c --- /dev/null +++ b/changes/+oui-regex.housekeeping @@ -0,0 +1 @@ +Update the regex for OUI data file gathering. diff --git a/flat_postprocess/oui_postprocess.py b/flat_postprocess/oui_postprocess.py index 19a905af..1ba6fd25 100644 --- a/flat_postprocess/oui_postprocess.py +++ b/flat_postprocess/oui_postprocess.py @@ -4,7 +4,7 @@ import subprocess import sys -HEX_RE = r"^(?P[0-9A-Fa-f]{6})\s*\(base 16\)\s+(?P.+?)\s*$" +HEX_RE = r"^MA-L,(?P[0-9A-Fa-f]{6}),\"(?P[^\"]+)\",.*$" OUI_MAPPINGS = {} URL = "https://standards-oui.ieee.org/oui/oui.txt"