From fe274c3e64c845a2d587dc30254c439c530cf4a4 Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Wed, 25 May 2011 13:37:21 -0400 Subject: [PATCH] Setting the snaplen to 0 to capture the full packet regardless of size. In my limited testing this seemed to work fine but we should make an actual test for this eventually. --- src/PktSrc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PktSrc.cc b/src/PktSrc.cc index d1f5eafba3..ac83aa8b69 100644 --- a/src/PktSrc.cc +++ b/src/PktSrc.cc @@ -19,8 +19,8 @@ #include #endif -int snaplen = 8192; // really want "capture entire packet" - +// Capture the entire packet please! +int snaplen = 0; PktSrc::PktSrc() {