diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-07-26 00:32:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-07-26 00:32:22 +0000 |
commit | be2a84c23149476106b66bea8a6fc0a0687e5ba1 (patch) | |
tree | 8b6e9d7961b2705ac32c16b5713232e7c2954a01 /wiretap | |
parent | 53ded7dae632c8e0025e6c253458e3892a4e1857 (diff) |
Note that libpcap fails if it tries to read a file with a snapshot
length > 65535, so we shouldn't use a larger value.
svn path=/trunk/; revision=29194
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/wtap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index d786d23f76..8c110ae3b8 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -290,7 +290,8 @@ extern "C" { /* * Maximum packet size we'll support. - * It must be at least 65535. + * 65535 is the largest snapshot length that libpcap supports, so we + * use that. */ #define WTAP_MAX_PACKET_SIZE 65535 |