diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-10-31 11:34:35 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-01 05:09:10 +0000 |
commit | 8b977a43d68d8fd9c2c7e7b8ccc0711df13c64ee (patch) | |
tree | 65e161a12e70ac3dade19f0781fa26315a419d94 /doc/dumpcap.pod | |
parent | 01784a594698d5d358c1d80319e77b68c939f7d7 (diff) |
Move condition logic to dumpcap.c
Move the condition logic from capture_stop_conditions.c to dumpcap.c.
Remove capture_stop_conditions.[ch] and conditions.[ch].
Switch duration values to doubles.
Change-Id: Ifa74fb13ec8fc923b0721597a6cf071d72069ea0
Reviewed-on: https://code.wireshark.org/review/30440
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc/dumpcap.pod')
-rw-r--r-- | doc/dumpcap.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/dumpcap.pod b/doc/dumpcap.pod index 5e52620bd9..87ec453ff8 100644 --- a/doc/dumpcap.pod +++ b/doc/dumpcap.pod @@ -72,7 +72,7 @@ to a capture file. The criterion is of the form I<test>B<:>I<value>, where I<test> is one of: B<duration>:I<value> Stop writing to a capture file after I<value> seconds have -elapsed. +elapsed. Floating point values (e.g. 0.5) are allowed. B<filesize>:I<value> Stop writing to a capture file after it reaches a size of I<value> kB. If this option is used together with the -b option, dumpcap will @@ -103,7 +103,8 @@ The criterion is of the form I<key>B<:>I<value>, where I<key> is one of: B<duration>:I<value> switch to the next file after I<value> seconds have -elapsed, even if the current file is not completely filled up. +elapsed, even if the current file is not completely filled up. Floating +point values (e.g. 0.5) are allowed. B<interval>:I<value> switch to the next file when the time is an exact multiple of I<value> seconds |