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
This commit is contained in:
Luis Ontanon 2005-02-24 21:22:51 +00:00
parent 79c7325373
commit c348bbdf91
1 changed files with 1 additions and 1 deletions

View File

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