diff options
Diffstat (limited to 'src/common')
-rwxr-xr-x | src/common/pcap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/pcap.cpp b/src/common/pcap.cpp index f5eb3c41..b976aed7 100755 --- a/src/common/pcap.cpp +++ b/src/common/pcap.cpp @@ -223,6 +223,7 @@ bool LibPCapWriter::Create(char * name) printf(" ERROR create file \n"); return(false); } + /* prepare the write counter */ m_pkt_count = 0; return init(); |