diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-22 23:46:54 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-22 23:46:54 +0000 |
commit | a25fd8d7cae3a7516da1f67bb77f11fceebb36e8 (patch) | |
tree | caf528df2cf0376be62a139dc8bae0f198bc1c03 /capture.c | |
parent | 9677b33abf94de8a17c7f02f84b10bd2a1a9cd70 (diff) | |
download | wireshark-a25fd8d7cae3a7516da1f67bb77f11fceebb36e8.tar.gz wireshark-a25fd8d7cae3a7516da1f67bb77f11fceebb36e8.tar.bz2 wireshark-a25fd8d7cae3a7516da1f67bb77f11fceebb36e8.zip |
add the number of autostop files to the command line parameters, e.g.:
-a files:20
also added this to the manpage, the user's guide will follow later
svn path=/trunk/; revision=13473
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -196,6 +196,10 @@ set_autostop_criterion(capture_options *capture_opts, const char *autostoparg) } else if (strcmp(autostoparg,"filesize") == 0) { capture_opts->has_autostop_filesize = TRUE; capture_opts->autostop_filesize = get_positive_int(p,"autostop filesize"); + } else if (strcmp(autostoparg,"files") == 0) { + capture_opts->multi_files_on = TRUE; + capture_opts->has_autostop_files = TRUE; + capture_opts->autostop_files = get_positive_int(p,"autostop files"); } else { return FALSE; } |