diff options
author | lucaderi <deri@ntop.org> | 2016-09-27 08:01:15 +0200 |
---|---|---|
committer | lucaderi <deri@ntop.org> | 2016-09-27 08:01:15 +0200 |
commit | 67ac0b431c3bb812829db4a927a309a089bca13e (patch) | |
tree | 58fd3a2d5b0973302ef0ba05de7bfa5793eee56d /example | |
parent | 1f807a1348c4f831a2b9ba1cc8b70f20c978df3f (diff) |
Fix for #249 (not sure is enough)
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index c52e03349..deb61b681 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1080,7 +1080,7 @@ static void configurePcapHandle(pcap_t * pcap_handle) { */ static pcap_t * openPcapFileOrDevice(u_int16_t thread_id, const u_char * pcap_file) { - u_int snaplen = 65535; + u_int snaplen = 1536; int promisc = 1; char pcap_error_buffer[PCAP_ERRBUF_SIZE]; pcap_t * pcap_handle = NULL; |