summaryrefslogtreecommitdiff
path: root/ui/commandline.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-22 19:29:46 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-23 03:33:41 +0000
commitb013d5c4d98dfc31d8e43d6cb63cc88ff6222cc7 (patch)
treebb621a43d86b0ef8628c3578cf2a7d54a94ff838 /ui/commandline.c
parent5c1b898a4398c994f59d47db875f8476a52d9652 (diff)
downloadwireshark-b013d5c4d98dfc31d8e43d6cb63cc88ff6222cc7.tar.gz
Initialize the dissection options along with the other command-line options.
Change-Id: I35ff8f36d12831d408666c3422444371a2ac0c25 Reviewed-on: https://code.wireshark.org/review/19391 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.c')
-rw-r--r--ui/commandline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/commandline.c b/ui/commandline.c
index e12d9fe3d4..05621d82b8 100644
--- a/ui/commandline.c
+++ b/ui/commandline.c
@@ -389,6 +389,7 @@ void commandline_other_options(int argc, char *argv[], gboolean opt_reset)
}
/* Initialize with default values */
+ dissect_opts_init();
global_commandline_info.jump_backwards = SD_FORWARD;
global_commandline_info.go_to_packet = 0;
global_commandline_info.jfilter = NULL;