aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad.fatoum@siemens.com>2017-08-22 11:00:28 +0200
committerMichael Mann <mmann78@netscape.net>2017-08-22 12:18:12 +0000
commitbe69761c78d0c285f88ea6b2da0399fcecf9d782 (patch)
tree3eb6fd63ca9f8ceafbb997b8ac70242b0e283e61 /capture_opts.h
parenta34445c1cf340a5e617464aec4042df447327de5 (diff)
Fix requesting hardware timestamps without -k
The interface_options struct passed to dumpcap is populated differently when running Wireshark with and without -k. Previously, only with -k was there a valid pointer in interface_opts.timestamp_type Fixes: aca55a2 ("Add hardware timestamping support") Signed-off-by: Ahmad Fatoum <ahmad.fatoum@siemens.com> Change-Id: Ic7ecc5a1190c28197d6a7271f1b353f74d43ca61 Reviewed-on: https://code.wireshark.org/review/23160 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index c3b830e3b3..8e1cb8de2a 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -201,6 +201,7 @@ typedef struct interface_tag {
/* External capture cached data */
GHashTable *external_cap_args_settings;
#endif
+ gchar *timestamp_type;
} interface_t;
typedef struct link_row_tag {