From 626926e25c02fc808601032d35df5cae5ca94726 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Sat, 21 Jul 2018 20:51:13 +0800 Subject: [PATCH] changed a typo --- network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.cpp b/network.cpp index 2a6feff..f5ab12e 100644 --- a/network.cpp +++ b/network.cpp @@ -67,7 +67,7 @@ ev_loop* g_default_loop; pthread_t pcap_recv_thread; char g_packet_buf[buf_len]; //dirty code, fix it later -int g_packet_buf_len=1; +int g_packet_buf_len=-1; int g_packet_buf_cnt=0;