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>
This commit is contained in:
Guy Harris 2016-06-27 18:56:29 -07:00
parent 5d019cfb13
commit ac4ad2bd44
1 changed files with 1 additions and 1 deletions

View File

@ -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;