aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-27 01:13:49 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-27 01:13:49 +0000
commit80fda10f180b1f3d8c4ed65561233d33aa89abca (patch)
tree9eef130c3457defbed6430c418e1e05d57f037b9 /capture_opts.c
parentb3a83551a322d9f8ccecec52e07a19670e345bbe (diff)
Make -q not a capture option again - it's used by tshark even when not
capturing, and thus even when we build without pcap. svn path=/trunk/; revision=32988
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 86c3823224..23297b60eb 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -86,7 +86,6 @@ capture_opts_init(capture_options *capture_opts, void *cf)
capture_opts->saving_to_file = FALSE;
capture_opts->save_file = NULL;
capture_opts->use_pcapng = FALSE; /* the default is pcap */
- capture_opts->quiet = FALSE;
capture_opts->real_time_mode = TRUE;
capture_opts->show_info = TRUE;
capture_opts->quit_after_cap = FALSE;
@@ -493,9 +492,6 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg_
case 'p': /* Don't capture in promiscuous mode */
capture_opts->promisc_mode = FALSE;
break;
- case 'q': /* Quiet mode (don't print packet counts) */
- capture_opts->quiet = TRUE;
- break;
case 'Q': /* Quit after capture (just capture to file) */
capture_opts->quit_after_cap = TRUE;
*start_capture = TRUE; /*** -Q implies -k !! ***/