forked from osmocom/wireshark
Follow up to rev 34073: Since "-b files:0" is no longer necessary to
override the default of turning on a multiple file ring buffer, require a positive integer to be specified for the files value. svn path=/trunk/; revision=34082
This commit is contained in:
parent
875c97aedf
commit
390927ce12
|
@ -269,7 +269,7 @@ get_ring_arguments(capture_options *capture_opts, const char *arg)
|
|||
|
||||
if (strcmp(arg,"files") == 0) {
|
||||
capture_opts->has_ring_num_files = TRUE;
|
||||
capture_opts->ring_num_files = get_natural_int(p, "number of ring buffer files");
|
||||
capture_opts->ring_num_files = get_positive_int(p, "number of ring buffer files");
|
||||
} else if (strcmp(arg,"filesize") == 0) {
|
||||
capture_opts->has_autostop_filesize = TRUE;
|
||||
capture_opts->autostop_filesize = get_positive_int(p, "ring buffer filesize");
|
||||
|
|
Loading…
Reference in New Issue