Blame SOURCES/wireshark-1.10.14-buffer-size.patch

affdba
From 5cbf42acb616a34d5e41f03b881f8552e08855a7 Mon Sep 17 00:00:00 2001
affdba
From: Martin Sehnoutka <msehnout@redhat.com>
affdba
Date: Thu, 4 May 2017 12:31:21 +0200
affdba
Subject: [PATCH] Make the default capture buffer bigger.
affdba
affdba
---
affdba
 capture_opts.h             | 2 +-
affdba
 doc/dumpcap.pod            | 4 ++--
affdba
 doc/tshark.pod             | 4 ++--
affdba
 doc/wireshark.pod.template | 4 ++--
affdba
 4 files changed, 7 insertions(+), 7 deletions(-)
affdba
affdba
diff --git a/capture_opts.h b/capture_opts.h
affdba
index c2f41d2..29a7132 100644
affdba
--- a/capture_opts.h
affdba
+++ b/capture_opts.h
affdba
@@ -243,7 +243,7 @@ extern void
affdba
 collect_ifaces(capture_options *capture_opts);
affdba
 
affdba
 /* Default capture buffer size in Mbytes. */
affdba
-#define DEFAULT_CAPTURE_BUFFER_SIZE 2
affdba
+#define DEFAULT_CAPTURE_BUFFER_SIZE 4
affdba
 
affdba
 #ifdef __cplusplus
affdba
 }
affdba
diff --git a/doc/dumpcap.pod b/doc/dumpcap.pod
affdba
index e1dc293..090cd53 100644
affdba
--- a/doc/dumpcap.pod
affdba
+++ b/doc/dumpcap.pod
affdba
@@ -114,11 +114,11 @@ of size one megabyte each.
affdba
 
affdba
 =item -B  E<lt>capture buffer sizeE<gt>
affdba
 
affdba
-Set capture buffer size (in MiB, default is 2 MiB).  This is used by
affdba
+Set capture buffer size (in MiB, default is 4 MiB).  This is used by
affdba
 the capture driver to buffer packet data until that data can be written
affdba
 to disk.  If you encounter packet drops while capturing, try to increase
affdba
 this size.  Note that, while B<Dumpcap> attempts to set the buffer size
affdba
-to 2 MiB by default, and can be told to set it to a larger value, the
affdba
+to 4 MiB by default, and can be told to set it to a larger value, the
affdba
 system or interface on which you're capturing might silently limit the
affdba
 capture buffer size to a lower value or raise it to a higher value.
affdba
 
affdba
diff --git a/doc/tshark.pod b/doc/tshark.pod
affdba
index ba06225..38c43dd 100644
affdba
--- a/doc/tshark.pod
affdba
+++ b/doc/tshark.pod
affdba
@@ -214,11 +214,11 @@ of size one megabyte each.
affdba
 
affdba
 =item -B  E<lt>capture buffer sizeE<gt>
affdba
 
affdba
-Set capture buffer size (in MiB, default is 2 MiB).  This is used by
affdba
+Set capture buffer size (in MiB, default is 4 MiB).  This is used by
affdba
 the capture driver to buffer packet data until that data can be written
affdba
 to disk.  If you encounter packet drops while capturing, try to increase
affdba
 this size.  Note that, while B<Tshark> attempts to set the buffer size
affdba
-to 2 MiB by default, and can be told to set it to a larger value, the
affdba
+to 4 MiB by default, and can be told to set it to a larger value, the
affdba
 system or interface on which you're capturing might silently limit the
affdba
 capture buffer size to a lower value or raise it to a higher value.
affdba
 
affdba
diff --git a/doc/wireshark.pod.template b/doc/wireshark.pod.template
affdba
index 130e7ef..1e9681f 100644
affdba
--- a/doc/wireshark.pod.template
affdba
+++ b/doc/wireshark.pod.template
affdba
@@ -280,11 +280,11 @@ of size one megabyte each.
affdba
 
affdba
 =item -B  E<lt>capture buffer sizeE<gt>
affdba
 
affdba
-Set capture buffer size (in MiB, default is 2 MiB).  This is used by
affdba
+Set capture buffer size (in MiB, default is 4 MiB).  This is used by
affdba
 the capture driver to buffer packet data until that data can be written
affdba
 to disk.  If you encounter packet drops while capturing, try to increase
affdba
 this size.  Note that, while B<Wireshark> attempts to set the buffer size
affdba
-to 2 MiB by default, and can be told to set it to a larger value, the
affdba
+to 4 MiB by default, and can be told to set it to a larger value, the
affdba
 system or interface on which you're capturing might silently limit the
affdba
 capture buffer size to a lower value or raise it to a higher value.
affdba
 
affdba
-- 
affdba
2.9.3
affdba