Allow a zero change offset in editcap.

It doesn't have to be non-zero.

Change-Id: If578906855abd9eb9fa07e97ee5508c139b6f61b
Reviewed-on: https://code.wireshark.org/review/17646
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-09-11 13:23:20 -07:00
parent 11d3a0f963
commit 4f46d9da9c
1 changed files with 1 additions and 1 deletions

View File

@ -1204,7 +1204,7 @@ main(int argc, char *argv[])
break;
case 'o':
change_offset = get_nonzero_guint32(optarg, "change offset");
change_offset = get_guint32(optarg, "change offset");
break;
case 'r':