diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-27 18:56:29 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-28 01:56:57 +0000 |
commit | ac4ad2bd44f2b8f6981581c683d15645bf2e70cc (patch) | |
tree | b3fbf08a66234692b5e818aa33919756f6e097c4 | |
parent | 5d019cfb13a75663f5fde39163650884208e5791 (diff) |
Don't set quit_after_cap if no pcap, as it's not present.
Change-Id: I871f75394ba66967d7d7be203bd9e235575458e1
Reviewed-on: https://code.wireshark.org/review/16183
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | ui/commandline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commandline.c b/ui/commandline.c index e7de6e1dcd..4d0ed3c200 100644 --- a/ui/commandline.c +++ b/ui/commandline.c @@ -388,8 +388,8 @@ void commandline_other_options(int argc, char *argv[], commandline_param_info_t* #ifdef HAVE_LIBPCAP param_info->start_capture = FALSE; param_info->list_link_layer_types = FALSE; -#endif param_info->quit_after_cap = getenv("WIRESHARK_QUIT_AFTER_CAPTURE") ? TRUE : FALSE; +#endif param_info->disable_protocol_slist = NULL; param_info->enable_heur_slist = NULL; param_info->disable_heur_slist = NULL; |