diff options
author | Tom Gundersen <teg@jklm.no> | 2012-12-03 20:15:22 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-12-04 02:11:37 +0100 |
commit | 5fe25affc01fb003a3a66937458a25640a6075ce (patch) | |
tree | 9dcc8643473f2e4d43e2b79d9eece0c245ff45c2 /src/udev | |
parent | d9847b32462d3943c9788e05454364f544617b9d (diff) |
hwdb: add IAB to the OUI database
The individual address block is a poor man's organizationally unique
identifier.
Perhaps we should change the udev key from ID_OUI_FROM_DATABASE to
something like ID_IEEE_VENDOR_FROM_DATABASE?
Suggested-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-builtin-net_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index 944e0d5f0c..977545d996 100644 --- a/src/udev/udev-builtin-net_id.c +++ b/src/udev/udev-builtin-net_id.c @@ -229,7 +229,7 @@ static int dev_mac(struct udev_device *dev, const char *prefix, bool test) { * skip commonly misused 00:00:00 (Xerox) prefix */ if (a1 + a2 + a3 > 0) { - snprintf(str, sizeof(str), "OUI:%02X%02X%02X", a1, a2, a3); + snprintf(str, sizeof(str), "OUI:%02X%02X%02X%02X%02X%02X", a1, a2, a3, a4, a5, a6); udev_builtin_hwdb_lookup(dev, str, test); } |