aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorDavid Perry <boolean263@protonmail.com>2022-02-11 01:54:53 +0000
committerA Wireshark GitLab Utility <6629907-ws-gitlab-utility@users.noreply.gitlab.com>2022-02-11 01:54:53 +0000
commitfc3f061829aa4ba20589bd4caa802aee1756f083 (patch)
treee14863c6dcdf8e8a21625e9d962e7033552c441a /capture_opts.h
parent4b8c280d68a5d3353a761f3b722d551ac80e6097 (diff)
Differentiate `-c` from `-a packets:`
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index ab30e497bf..e1d3ff7960 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -307,6 +307,9 @@ typedef struct capture_options_tag {
gboolean has_autostop_packets; /**< TRUE if maximum packet count is
specified */
int autostop_packets; /**< Maximum packet count */
+ gboolean has_autostop_written_packets; /**< TRUE if maximum packet count is
+ specified */
+ int autostop_written_packets; /**< Maximum packet count */
gboolean has_autostop_filesize; /**< TRUE if maximum capture file size
is specified */
guint32 autostop_filesize; /**< Maximum capture file size in kB */