diff options
Diffstat (limited to 'tools/make-manuf.py')
-rwxr-xr-x | tools/make-manuf.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/make-manuf.py b/tools/make-manuf.py index 22f3aa03..8f006405 100755 --- a/tools/make-manuf.py +++ b/tools/make-manuf.py @@ -36,7 +36,7 @@ def exit_msg(msg=None, status=1): def open_url(url): '''Open a URL. Returns a tuple containing the body and response dict. The body is a - str in Python 3 and bytes in Python 2 in order to be compatibile with + str in Python 3 and bytes in Python 2 in order to be compatible with csv.reader. ''' @@ -230,7 +230,6 @@ def prefix_to_oui(prefix, prefix_map): return '{}/{:d}'.format(oui, int(pfx_len)), kind def main(): - this_dir = os.path.dirname(__file__) manuf_path = os.path.join('epan', 'manuf-data.c') ieee_d = { @@ -246,7 +245,7 @@ def main(): MA_S: {}, } - min_total = 35000; # 35830 as of 2018-09-05 + min_total = 35000 # 35830 as of 2018-09-05 total_added = 0 # Add IEEE entries from each of their databases @@ -276,9 +275,10 @@ def main(): # "Watts A\S" manuf = manuf.replace('\\', '/') if manuf == 'IEEE Registration Authority': + # These are held for subdivision into MA-M/MA-S continue - if manuf == 'Private': - continue + #if manuf == 'Private': + # continue if oui in oui_d[kind]: action = 'Skipping' print('{} - {} IEEE "{}" in favor of "{}"'.format(oui, action, manuf, oui_d[kind][oui])) |