diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-12 17:14:19 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-12 17:14:19 +0000 |
commit | cab1f9fc0cdbb9aee40f431cd2735f29dd146925 (patch) | |
tree | f3eae5c6c6d0409ffd6353d9eca1750610f5df21 /doc | |
parent | 605e212c4432cc75ae29a646afd18e547cc33927 (diff) |
Allow -C <choplen> 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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/editcap.pod | 6 |
1 files changed, 5 insertions, 1 deletions
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 E<lt>choplenE<gt> Sets the chop length to use when writing the packet data. Each packet is -chopped by a few <choplen> bytes of data. Positive values chop at the packet +chopped by <choplen> 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 |