From 8efd42c4aa708e53bcb383e79c535137d6d0cade Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Mon, 27 Mar 2017 14:55:05 +0200 Subject: 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 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- doc/dumpcap.pod | 2 +- doc/tshark.pod | 2 +- doc/wireshark.pod.template | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/dumpcap.pod b/doc/dumpcap.pod index 67b20eecc5..5753f99075 100644 --- a/doc/dumpcap.pod +++ b/doc/dumpcap.pod @@ -304,7 +304,7 @@ have to explicitly set it to use it). Set the default snapshot length to use when capturing live data. No more than I bytes of each network packet will be read into memory, or saved to disk. A value of 0 specifies a snapshot length of -65535, so that the full packet is captured; this is the default. +262144, so that the full packet is captured; this is the default. This option can occur multiple times. If used before the first occurrence of the B<-i> option, it sets the default snapshot length. diff --git a/doc/tshark.pod b/doc/tshark.pod index 5d79a57952..817170f183 100644 --- a/doc/tshark.pod +++ b/doc/tshark.pod @@ -696,7 +696,7 @@ applied. Set the default snapshot length to use when capturing live data. No more than I bytes of each network packet will be read into memory, or saved to disk. A value of 0 specifies a snapshot length of -65535, so that the full packet is captured; this is the default. +262144, so that the full packet is captured; this is the default. This option can occur multiple times. If used before the first occurrence of the B<-i> option, it sets the default snapshot length. diff --git a/doc/wireshark.pod.template b/doc/wireshark.pod.template index 60307b3659..a4ade52e26 100644 --- a/doc/wireshark.pod.template +++ b/doc/wireshark.pod.template @@ -556,7 +556,7 @@ capture file; packets not matching the filter are discarded. Set the default snapshot length to use when capturing live data. No more than I bytes of each network packet will be read into memory, or saved to disk. A value of 0 specifies a snapshot length of -65535, so that the full packet is captured; this is the default. +262144, so that the full packet is captured; this is the default. This option can occur multiple times. If used before the first occurrence of the B<-i> option, it sets the default snapshot length. @@ -2432,7 +2432,7 @@ capturing. The I check box and field lets you specify a maximum number of bytes per packet to capture and save; if the -check box is not checked, the limit will be 65535 bytes. +check box is not checked, the limit will be 262144 bytes. The I entry lets you specify the capture filter using a tcpdump-style filter string as described above. -- cgit v1.2.1