diff options
author | Roland Knall <roland.knall@br-automation.com> | 2014-02-26 13:14:01 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-03-02 09:53:40 +0000 |
commit | 5f78d0f4f1df67c7965248e9b4397e1da0ad48ae (patch) | |
tree | 8c12a2af66ad8fd2f9d26918511fbd1bc8279198 /capture_opts.h | |
parent | 9c62ea46cd5ece0405dbf58fa937807b9eeae5dd (diff) | |
download | wireshark-5f78d0f4f1df67c7965248e9b4397e1da0ad48ae.tar.gz |
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 <rknall@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index 06e8169899..771cdfd69b 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -147,6 +147,7 @@ typedef struct interface_options_tag { int snaplen; int linktype; gboolean promisc_mode; + interface_type if_type; #if defined(_WIN32) || defined(HAVE_PCAP_CREATE) int buffer_size; #endif |