mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
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:
parent
bf84801249
commit
fe274c3e64
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@
|
||||||
#include <pcap-int.h>
|
#include <pcap-int.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int snaplen = 8192; // really want "capture entire packet"
|
// Capture the entire packet please!
|
||||||
|
int snaplen = 0;
|
||||||
|
|
||||||
PktSrc::PktSrc()
|
PktSrc::PktSrc()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue