aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-06-26 16:09:41 -0700
committerPascal Quantin <pascal.quantin@gmail.com>2018-06-27 03:51:22 +0000
commit44efca4ae8e8507de9f5d499534f9180e38c0471 (patch)
tree121ff14346ea54ee120cfafb4d0fdc513eb8dd0d /editcap.c
parent910bc034abd8e5209dc6ccd8cacdafdc59b1c9dc (diff)
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>
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/editcap.c b/editcap.c
index 83ab463ba5..69cd055c98 100644
--- a/editcap.c
+++ b/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");