From 3803e00367413260cbb543c3c4ed13ae2d8fd194 Mon Sep 17 00:00:00 2001 From: Sake Blok Date: Tue, 27 Jun 2017 22:04:33 +0200 Subject: Add option to use wall-clock intervals 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 Tested-by: Petri Dish Buildbot Reviewed-by: Sake Blok --- capture_stop_conditions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'capture_stop_conditions.h') 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 -- cgit v1.2.1