summaryrefslogtreecommitdiff
path: root/docbook
diff options
context:
space:
mode:
authorMartin Sehnoutka <msehnout@redhat.com>2017-03-27 14:55:05 +0200
committerMichael Mann <mmann78@netscape.net>2017-03-28 16:23:59 +0000
commit8efd42c4aa708e53bcb383e79c535137d6d0cade (patch)
tree3f3bb357f958fae932c72444e9dc684b38054f60 /docbook
parent172107521b8be56911ce467b837ba047db40d0bb (diff)
downloadwireshark-8efd42c4aa708e53bcb383e79c535137d6d0cade.tar.gz
Reflect new default value of snaplen in man pages.
Default value for snaplen is defined in wiretap/wtap.h: #define WTAP_MAX_PACKET_SIZE 262144 and used in capture_opts.c: capture_opts->default_options.snaplen = WTAP_MAX_PACKET_SIZE; but help and man pages don't reflect this change. Change-Id: I35ddf1e8b7ffd657f4e01b3fe6b4c44c9acece2b Reviewed-on: https://code.wireshark.org/review/20738 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'docbook')
-rw-r--r--docbook/wsug_src/WSUG_app_tools.asciidoc6
-rw-r--r--docbook/wsug_src/WSUG_chapter_capture.asciidoc2
-rw-r--r--docbook/wsug_src/WSUG_chapter_customize.asciidoc2
3 files changed, 5 insertions, 5 deletions
diff --git a/docbook/wsug_src/WSUG_app_tools.asciidoc b/docbook/wsug_src/WSUG_app_tools.asciidoc
index 9775e80dba..87c88559f0 100644
--- a/docbook/wsug_src/WSUG_app_tools.asciidoc
+++ b/docbook/wsug_src/WSUG_app_tools.asciidoc
@@ -37,7 +37,7 @@ Usage: tshark [options] ...
Capture interface:
-i <interface> name or idx of interface (def: first non-loopback)
-f <capture filter> packet filter in libpcap filter syntax
- -s <snaplen> packet snapshot length (def: 65535)
+ -s <snaplen> packet snapshot length (def: 262144)
-p don't capture in promiscuous mode
-I capture in monitor mode, if available
-B <buffer size> size of kernel buffer (def: 2MB)
@@ -180,7 +180,7 @@ Capture interface:
rpcap://<host>/<interface>
TCP@<host>:<port>
-f <capture filter> packet filter in libpcap filter syntax
- -s <snaplen> packet snapshot length (def: 65535)
+ -s <snaplen> packet snapshot length (def: 262144)
-p don't capture in promiscuous mode
-I capture in monitor mode, if available
-B <buffer size> size of kernel buffer in MiB (def: 2MiB)
@@ -868,7 +868,7 @@ Output:
hex dump of an encapsulated packet and you wish to
specify the exact type of encapsulation.
Example: -l 7 for ARCNet packets.
- -m <max-packet> max packet length in output; default is 65535
+ -m <max-packet> max packet length in output; default is 262144
Prepend dummy header:
-e <l3pid> prepend dummy Ethernet II header with specified L3PID
diff --git a/docbook/wsug_src/WSUG_chapter_capture.asciidoc b/docbook/wsug_src/WSUG_chapter_capture.asciidoc
index 7b65a8b35c..7b4038bb38 100644
--- a/docbook/wsug_src/WSUG_chapter_capture.asciidoc
+++ b/docbook/wsug_src/WSUG_chapter_capture.asciidoc
@@ -199,7 +199,7 @@ Loopback interfaces are not available on Windows platforms.
* The information whether promicuous mode is enabled or disabled.
* The maximum amount of data that will be captured for each packet. The default
- value is set to the 65535 bytes.
+ value is set to the 262144 bytes.
* The size of the kernel buffer that is reserved to keep the captured packets.
diff --git a/docbook/wsug_src/WSUG_chapter_customize.asciidoc b/docbook/wsug_src/WSUG_chapter_customize.asciidoc
index 6a47a997c9..1f797bd7db 100644
--- a/docbook/wsug_src/WSUG_chapter_customize.asciidoc
+++ b/docbook/wsug_src/WSUG_chapter_customize.asciidoc
@@ -48,7 +48,7 @@ Capture interface:
-i <interface> name or idx of interface (def: first non-loopback)
-f <capfilter|predef:> packet filter in libpcap filter syntax or
predef:filtername - predefined filtername from GUI
- -s <snaplen> packet snapshot length (def: 65535)
+ -s <snaplen> packet snapshot length (def: 262144)
-p don't capture in promiscuous mode
-k start capturing immediately (def: do nothing)
-S update packet display when new packets are captured