diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-24 21:22:51 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-24 21:22:51 +0000 |
commit | c348bbdf91dde2721603166004e5a11d996d3088 (patch) | |
tree | 673643337525c36d555c6fcd86dbc4966647693f /capture_opts.c | |
parent | 79c7325373c5f375bbb3e316564720260f59528f (diff) | |
download | wireshark-c348bbdf91dde2721603166004e5a11d996d3088.tar.gz wireshark-c348bbdf91dde2721603166004e5a11d996d3088.tar.bz2 wireshark-c348bbdf91dde2721603166004e5a11d996d3088.zip |
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.c | 2 |
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; |