aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-10-27 08:27:46 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-10-27 08:27:46 +0000
commit32f715f2e70e2eee0f7b12c5505724efaadbd3fb (patch)
treefe9a175e3fde10cef8008d97e6126dc40cdbdfb4 /doc
parent96729e741d070b128ce405ab82796a09df28daea (diff)
simply use 4 spaces for example indentation and formatting
svn path=/trunk/; revision=16330
Diffstat (limited to 'doc')
-rw-r--r--doc/editcap.pod38
1 files changed, 7 insertions, 31 deletions
diff --git a/doc/editcap.pod b/doc/editcap.pod
index e0a25e92e3..0fb2206076 100644
--- a/doc/editcap.pod
+++ b/doc/editcap.pod
@@ -215,55 +215,31 @@ Prints the version and options and exits.
To see more detailed description of the options use:
-=over 4
-
- editcap -h
-
-=back
+ editcap -h
To shrink the capture file by truncating the packets at 64 bytes and writing it as Sun snoop file use:
-=over 4
-
- editcap -s 64 -F snoop capture.pcap shortcapture.snoop
-
-=back
+ editcap -s 64 -F snoop capture.pcap shortcapture.snoop
To delete packet 1000 from the capture file use:
-=over 4
-
- editcap capture.pcap sans1000.pcap 1000
-
-=back
+ editcap capture.pcap sans1000.pcap 1000
To limit a capture file to packets from number 200 to 750 (inclusive) use:
-=over 4
-
- editcap -r capture.pcap small.pcap 200-750
-
-=back
+ editcap -r capture.pcap small.pcap 200-750
To get all packets from number 1-500 (inclusive) use:
-=over 4
-
- editcap -r capture.pcap 500.pcap 1-500
+ editcap -r capture.pcap 500.pcap 1-500
or
- editcap capture.pcap 500.pcap 501-9999999
-
-=back
+ editcap capture.pcap 500.pcap 501-9999999
To filter out packets 10 to 20 and 30 to 40 into a new file use:
-=over 4
-
- editcap capture.pcap selection.pcap 10-20 30-40
-
-=back
+ editcap capture.pcap selection.pcap 10-20 30-40
To introduce 5% random errors in a capture file use: