forked from osmocom/wireshark
editcap: move -I and -a options description to packet manipulation section
Change-Id: I090c214eeb636ec8f769ee133e2f12825802335e Reviewed-on: https://code.wireshark.org/review/28472 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
910bc034ab
commit
44efca4ae8
20
editcap.c
20
editcap.c
|
@ -752,17 +752,6 @@ print_usage(FILE *output)
|
|||
fprintf(output, " LESS THAN <dup time window> prior to current packet.\n");
|
||||
fprintf(output, " A <dup time window> is specified in relative seconds\n");
|
||||
fprintf(output, " (e.g. 0.000001).\n");
|
||||
fprintf(output, " -a <framenum>:<comment> Add or replace comment for given frame number\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, " -I <bytes to ignore> ignore the specified number of bytes at the beginning\n");
|
||||
fprintf(output, " of the frame during MD5 hash calculation, unless the\n");
|
||||
fprintf(output, " frame is too short, then the full frame is used.\n");
|
||||
fprintf(output, " Useful to remove duplicated packets taken on\n");
|
||||
fprintf(output, " several routers (different mac addresses for\n");
|
||||
fprintf(output, " example).\n");
|
||||
fprintf(output, " e.g. -I 26 in case of Ether/IP will ignore\n");
|
||||
fprintf(output, " ether(14) and IP header(20 - 4(src ip) - 4(dst ip)).\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, " NOTE: The use of the 'Duplicate packet removal' options with\n");
|
||||
fprintf(output, " other editcap options except -v may not always work as expected.\n");
|
||||
fprintf(output, " Specifically the -r, -t or -S options will very likely NOT have the\n");
|
||||
|
@ -796,6 +785,15 @@ print_usage(FILE *output)
|
|||
fprintf(output, " -o <change offset> When used in conjunction with -E, skip some bytes from the\n");
|
||||
fprintf(output, " beginning of the packet. This allows one to preserve some\n");
|
||||
fprintf(output, " bytes, in order to have some headers untouched.\n");
|
||||
fprintf(output, " -I <bytes to ignore> ignore the specified number of bytes at the beginning\n");
|
||||
fprintf(output, " of the frame during MD5 hash calculation, unless the\n");
|
||||
fprintf(output, " frame is too short, then the full frame is used.\n");
|
||||
fprintf(output, " Useful to remove duplicated packets taken on\n");
|
||||
fprintf(output, " several routers (different mac addresses for\n");
|
||||
fprintf(output, " example).\n");
|
||||
fprintf(output, " e.g. -I 26 in case of Ether/IP will ignore\n");
|
||||
fprintf(output, " ether(14) and IP header(20 - 4(src ip) - 4(dst ip)).\n");
|
||||
fprintf(output, " -a <framenum>:<comment> Add or replace comment for given frame number\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, "Output File(s):\n");
|
||||
fprintf(output, " -c <packets per file> split the packet output to different files based on\n");
|
||||
|
|
Loading…
Reference in New Issue