aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2015-01-31 17:24:45 +0100
committerClemens Ladisch <clemens@ladisch.de>2015-02-01 20:18:14 +0100
commit490d7901d5ddda34368fe6959d61ae805e4dd22a (patch)
tree07e3f07363f1b31a530169b2dd556805e1750722
parent891f4eaf7c7dcb315fa928ba2ce5ea59184ea8a0 (diff)
downloadlinux-firewire-utils-490d7901d5ddda34368fe6959d61ae805e4dd22a.tar.gz
crpp: update instructions how to generate oui.db
IEEE's oui.txt now contains leading white space. This caused crpp's OUI map to return no or wrong matches. Update the instructions for creating the oui.db file so that the old format without leading whitespace is restored.
-rw-r--r--src/crpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crpp b/src/crpp
index 0930e93..2c42a9b 100644
--- a/src/crpp
+++ b/src/crpp
@@ -36,8 +36,8 @@ This file can be obtained from linux-2.6.20 or older kernel soures in
linux/drivers/ieee1394/ or can be freshly generated by
wget -O - http://standards.ieee.org/regauth/oui/oui.txt |
grep -E '(base 16).*\w+.*$' |
- sed -e 's/\s*(base 16)\s*/ /' > oui.db
-which will download ~2 MB data and result in a ~0.4 MB large oui.db.
+ sed -e 's/^\s*//' -e 's/\s*(base 16)\s*/ /' > oui.db
+which will download ~3 MB data and result in a ~0.6 MB large oui.db.
History:
2010-02-16: initial release
@@ -46,6 +46,7 @@ History:
2010-07-19: added vendor-defined specifier/version IDs
2012-04-23: added IIDC2 v1.0.0 protocol entries
2012-06-12: updated dmesg reader to log format of kernel 3.4
+2015-01-31: updated comment on oui.db: let sed squash leading whitespace
"""
ouidb_search_paths = (