aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-10 20:02:45 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-10 20:02:45 +0000
commite7a7293bee542cb88ed0b4f00123407fd14a0aa9 (patch)
tree82d2b865e29997d91adee5addba0623714df0115 /doc
parent338f1c9654219984c7eb42d0131bd2b04c12d182 (diff)
Add -L option to allow adjustment of original frame length. This change was motivated by a question on ask where the user currently has to jump through hoops to accomplish the same thing which can now be done in 1 step via:
editcap -T wpan -C 16 -L -F libpcap test.pcap test_wpan.pcap I thought it would be useful enough for others as well. Ref: http://ask.wireshark.org/questions/22689/problems-with-editcap-and-wpan-encapsulation-option svn path=/trunk/; revision=50491
Diffstat (limited to 'doc')
-rw-r--r--doc/editcap.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index 0204cd8855..e30424cd89 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -14,6 +14,7 @@ S<[ B<-E> E<lt>error probabilityE<gt> ]>
S<[ B<-F> E<lt>file formatE<gt> ]>
S<[ B<-h> ]>
S<[ B<-i> E<lt>seconds per fileE<gt> ]>
+S<[ B<-L> ]>
S<[ B<-r> ]>
S<[ B<-s> E<lt>snaplenE<gt> ]>
S<[ B<-S> E<lt>strict time adjustmentE<gt> ]>
@@ -150,6 +151,12 @@ be created with a suffix -nnnnn, starting with 00000. If packets for the specifi
time interval are written to the output file, the next output file is
opened. The default is to use a single output file.
+=item -L
+
+Adjust the original frame length accordingly when chopping and/or snapping
+(in addition to the captured length, which is always adjusted regardless of
+whether B<-L> is specified or not). See also B<-C <choplen>> and B<-s <snaplen>>.
+
=item -r
Reverse the packet selection.