diff options
author | Sake Blok <sake@euronet.nl> | 2017-06-27 22:04:33 +0200 |
---|---|---|
committer | Sake Blok <sake.blok@SYN-bit.nl> | 2017-07-03 16:41:37 +0000 |
commit | 3803e00367413260cbb543c3c4ed13ae2d8fd194 (patch) | |
tree | e96b7c81846caec9343201ea80e8afeee68dc80c /capture_stop_conditions.h | |
parent | 2c58ed569ed0c096d5640fd0da5825bcfef04aeb (diff) | |
download | wireshark-3803e00367413260cbb543c3c4ed13ae2d8fd194.tar.gz |
Add the "interval" option to "-b". Each new capture starts at the
exact start of a time interval. For instance, using -b interval:3600
will start a new capture file at each whole hour.
Changed the duration option in the GUI interfaces to use the new
interval option.
Change-Id: I0180c43843f5d2f0c2f50153c9ce42ac7fa5aeae
Reviewed-on: https://code.wireshark.org/review/22428
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Sake Blok <sake.blok@SYN-bit.nl>
Diffstat (limited to 'capture_stop_conditions.h')
-rw-r--r-- | capture_stop_conditions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_stop_conditions.h b/capture_stop_conditions.h index 2cd21253f9..e21285b255 100644 --- a/capture_stop_conditions.h +++ b/capture_stop_conditions.h @@ -25,6 +25,7 @@ void cleanup_capture_stop_conditions(void); extern const char *CND_CLASS_TIMEOUT; extern const char *CND_CLASS_CAPTURESIZE; +extern const char *CND_CLASS_INTERVAL; /* * Editor modelines - http://www.wireshark.org/tools/modelines.html |