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.
This commit is contained in:
Seth Hall 2011-05-25 13:37:21 -04:00
parent bf84801249
commit fe274c3e64

View file

@ -19,8 +19,8 @@
#include <pcap-int.h>
#endif
int snaplen = 8192; // really want "capture entire packet"
// Capture the entire packet please!
int snaplen = 0;
PktSrc::PktSrc()
{