From 5f78d0f4f1df67c7965248e9b4397e1da0ad48ae Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Wed, 26 Feb 2014 13:14:01 +0100 Subject: Fix ui/iface_lists.c - type attribute is not copied temp is a clone of the local if_info, but the type attribute is not copied correctly Additionally, the if_type member is exposed via the capture options Change-Id: Id53f0dfd1e127921e1b89bbf78cb431ee257a96c Reviewed-on: https://code.wireshark.org/review/404 Reviewed-by: Roland Knall Reviewed-by: Alexis La Goutte --- ui/iface_lists.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/iface_lists.c') diff --git a/ui/iface_lists.c b/ui/iface_lists.c index a55318cf5f..2dcf7498c7 100644 --- a/ui/iface_lists.c +++ b/ui/iface_lists.c @@ -116,6 +116,7 @@ scan_local_interfaces(void (*update_cb)(void)) temp->friendly_name = g_strdup(if_info->friendly_name); temp->vendor_description = g_strdup(if_info->vendor_description); temp->loopback = if_info->loopback; + temp->type = if_info->type; /* Is this interface hidden and, if so, should we include it anyway? */ /* Do we have a user-supplied description? */ -- cgit v1.2.3