Use the get.*guint32() routines to get guint32s.
Change-Id: Ie3b451549a29970a5e3204b449f198aa1c82de5b Reviewed-on: https://code.wireshark.org/review/17650 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
4f46d9da9c
commit
4abf452b19
|
@ -1192,11 +1192,11 @@ main(int argc, char *argv[])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'i': /* break capture file based on time interval */
|
case 'i': /* break capture file based on time interval */
|
||||||
secs_per_block = get_positive_int(optarg, "time interval");
|
secs_per_block = get_nonzero_guint32(optarg, "time interval");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'I': /* ignored_bytes at the beginning of the frame for duplications removal */
|
case 'I': /* ignored_bytes at the beginning of the frame for duplications removal */
|
||||||
ignored_bytes = get_positive_int(optarg, "number of bytes to ignore");
|
ignored_bytes = get_guint32(optarg, "number of bytes to ignore");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'L':
|
case 'L':
|
||||||
|
|
Loading…
Reference in New Issue