Fix for #249 (not sure is enough)

This commit is contained in:
lucaderi
2016-09-27 08:01:15 +02:00
parent 1f807a1348
commit 67ac0b431c
2 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -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;