aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-27 17:21:24 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-28 00:21:53 +0000
commit3f49e897f674008c27de9833b8ba2d119dc22ef4 (patch)
tree99849e6a9b334fde27e527eb5ff7c84b98c07fa1 /capture_opts.c
parent72d9785cfc0d1d7e2eeebc05997d0efcec5dfa7f (diff)
Pull quit_after_cap out of the global capture options.
Really, all the GUI-related options should be pulled out, so they're not cluttering up dumpcap and tshark. Change-Id: I0276dee2be48bae3498a819d8c0c2747fe1352e7 Reviewed-on: https://code.wireshark.org/review/16180 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 38c39b304b..f383c82a94 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -97,7 +97,6 @@ capture_opts_init(capture_options *capture_opts)
#endif
capture_opts->real_time_mode = TRUE;
capture_opts->show_info = TRUE;
- capture_opts->quit_after_cap = getenv("WIRESHARK_QUIT_AFTER_CAPTURE") ? TRUE : FALSE;
capture_opts->restart = FALSE;
capture_opts->orig_save_file = NULL;
@@ -220,7 +219,6 @@ capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_optio
g_log(log_domain, log_level, "Fileformat : %s", (capture_opts->use_pcapng) ? "PCAPNG" : "PCAP");
g_log(log_domain, log_level, "RealTimeMode : %u", capture_opts->real_time_mode);
g_log(log_domain, log_level, "ShowInfo : %u", capture_opts->show_info);
- g_log(log_domain, log_level, "QuitAfterCap : %u", capture_opts->quit_after_cap);
g_log(log_domain, log_level, "MultiFilesOn : %u", capture_opts->multi_files_on);
g_log(log_domain, log_level, "FileDuration (%u) : %u", capture_opts->has_file_duration, capture_opts->file_duration);