On OS X, get the interface type from the System Configuration framework.
[metze/wireshark/wip.git] / ui / iface_lists.c
index bbd8041a69b8be83433fb125070b767df7063d6b..4483033374953bbd3b1a89d4dbc1771f5da6c13f 100644 (file)
@@ -159,7 +159,7 @@ scan_local_interfaces(void)
         if (prefs_is_capture_device_hidden(if_info->name)) {
             device.hidden = TRUE;
         }
-        device.type = get_interface_type(if_info->name, if_info->vendor_description);
+        device.type = if_info->type;
         monitor_mode = prefs_capture_device_monitor_mode(if_info->name);
         caps = capture_get_if_capabilities(if_info->name, monitor_mode, NULL);
         for (; (curr_addr = g_slist_nth(if_info->addrs, ips)) != NULL; ips++) {