diff options
Diffstat (limited to 'src')
-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); } |