forked from osmocom/wireshark
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:
parent
79c7325373
commit
c348bbdf91
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue