diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 01:19:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 01:19:18 +0000 |
commit | c1d34d4be65944ad84f4239672c8f34c969d9d24 (patch) | |
tree | f97d9b262d8ec9043a6a80e1f43027b3528fe394 /ui/iface_lists.c | |
parent | 7f97cc813e4d192b714500da4dcff5d129823a5c (diff) |
On OS X, get the interface type from the System Configuration framework.
svn path=/trunk/; revision=49486
Diffstat (limited to 'ui/iface_lists.c')
-rw-r--r-- | ui/iface_lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/iface_lists.c b/ui/iface_lists.c index bbd8041a69..4483033374 100644 --- a/ui/iface_lists.c +++ b/ui/iface_lists.c @@ -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++) { |