aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-02-24 21:22:51 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-02-24 21:22:51 +0000
commitc348bbdf91dde2721603166004e5a11d996d3088 (patch)
tree673643337525c36d555c6fcd86dbc4966647693f /capture_opts.c
parent79c7325373c5f375bbb3e316564720260f59528f (diff)
avoid capture stopping after just 1 packet in tethereal,
- in capture_opts_init() set capture_opts->autostop_packets to 0 instead of one. svn path=/trunk/; revision=13500
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 5b384aa34e..cf3e87629c 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -75,7 +75,7 @@ capture_opts_init(capture_options *capture_opts, void *cfile)
capture_opts->has_autostop_files = FALSE;
capture_opts->autostop_files = 1;
capture_opts->has_autostop_packets = FALSE;
- capture_opts->autostop_packets = 1;
+ capture_opts->autostop_packets = 0;
capture_opts->has_autostop_filesize = FALSE;
capture_opts->autostop_filesize = 1024 * 1024; /* 1 MB */
capture_opts->has_autostop_duration = FALSE;