From 1783336927c38d4fc87f510a1816ece2cc318321 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 30 Nov 2016 17:54:54 +0200 Subject: minor bugs Signed-off-by: imarom --- src/common/pcap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common') 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(); -- cgit 1.2.3-korg