From 517f726a4a61e7b18e1d290d28bcbd43a072af58 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 24 Aug 2019 16:45:18 -0500 Subject: monitors: fixes for vendor oui Signed-off-by: Burt P --- modules/devices/monitors.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/devices/monitors.c') diff --git a/modules/devices/monitors.c b/modules/devices/monitors.c index 7fd60bf5..0dfea7d3 100644 --- a/modules/devices/monitors.c +++ b/modules/devices/monitors.c @@ -117,11 +117,7 @@ gchar *monitor_vendor_str(monitor *m, gboolean include_value, gboolean link_name strcpy(v, ven.pnp); strcpy(t, "PNP"); } else if (ven.type == VEN_TYPE_OUI) { - sprintf(v, "%02x%02x%02x", - /* file lists as big endian */ - (ven.oui >> 16) & 0xff, - (ven.oui >> 8) & 0xff, - ven.oui & 0xff ); + strcpy(v, ven.oui_str); strcpy(t, "OUI"); } -- cgit v1.2.3