diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-03-27 20:08:33 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-03-28 03:34:18 +0000 |
commit | fd88bfa348677ec7bdd95d6a7130a08212ee98f7 (patch) | |
tree | 979a32097209379646ce4dccb107859ce52e04df /capture_opts.h | |
parent | 5e77ab8b9512519c7e975bbbac264a2241904bc6 (diff) |
Write the if_hardware option, if available, to pcapng files when capturing.
Change-Id: Ib9ff78d148a2364c84d84b4a9b020b3d783654a3
Reviewed-on: https://code.wireshark.org/review/36602
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index ccbab03ed3..e81aa72d40 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -153,6 +153,7 @@ typedef struct interface_tag { gchar *name; gchar *display_name; gchar *friendly_name; + gchar *vendor_description; guint type; gchar *addresses; gint no_addresses; @@ -191,6 +192,7 @@ typedef struct link_row_tag { typedef struct interface_options_tag { gchar *name; /* the name of the interface supplied to libpcap/WinPcap/Npcap to specify the interface */ gchar *descr; /* a more user-friendly description of the interface; may be NULL if none */ + gchar *hardware; /* description of the hardware */ gchar *display_name; /* the name displayed in the console and title bar */ gchar *cfilter; gboolean has_snaplen; |