summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-25 13:42:36 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-25 20:43:35 +0000
commit4c4ae267b06b9c7dd19d5ec7f416d9b645b7affd (patch)
treead486c6a24acd671c2368f76492d89af5a49ca70
parent9ade6ec2500161ec794b102ce60b9898720cbd7b (diff)
downloadwireshark-4c4ae267b06b9c7dd19d5ec7f416d9b645b7affd.tar.gz
Boost the maximum snapshot length to 262144, for USBPcap.
Change-Id: I104bd9d1519298a0e4ff818f1cf821df594b3491 Reviewed-on: https://code.wireshark.org/review/2658 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit 474b90e35898c8898695b43bb49305ec200fa6b0) Reviewed-on: https://code.wireshark.org/review/2659
-rw-r--r--wiretap/wtap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 11f51466b1..153f53ab94 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -362,10 +362,10 @@ extern "C" {
/*
* Maximum packet size we'll support.
- * 131072 is the largest snapshot length that libpcap supports, so we
+ * 262144 is the largest snapshot length that libpcap supports, so we
* use that.
*/
-#define WTAP_MAX_PACKET_SIZE 131072
+#define WTAP_MAX_PACKET_SIZE 262144
/*
* "Pseudo-headers" are used to supply to the clients of wiretap