From cab1f9fc0cdbb9aee40f431cd2735f29dd146925 Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Fri, 12 Jul 2013 17:14:19 +0000 Subject: Allow -C to be used more than once so it is now possible to chop bytes from both the beginning and end of a packet in a single step. svn path=/trunk/; revision=50536 --- doc/editcap.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/editcap.pod b/doc/editcap.pod index e30424cd89..b865b2c731 100644 --- a/doc/editcap.pod +++ b/doc/editcap.pod @@ -92,13 +92,17 @@ opened. The default is to use a single output file. =item -C EchoplenE Sets the chop length to use when writing the packet data. Each packet is -chopped by a few bytes of data. Positive values chop at the packet +chopped by bytes of data. Positive values chop at the packet beginning while negative values chop at the packet end. This is useful for chopping headers for decapsulation of an entire capture or in the rare case that the conversion between two file formats leaves some random bytes at the end of each packet. +NOTE: This option can be used more than once, effectively allowing you to chop +bytes from the beginning of a packet as well as from the end of a packet in a +single step. + =item -d Attempts to remove duplicate packets. The length and MD5 hash of the -- cgit v1.2.3