X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..931cbc356d8e2cf226026d8d327c1bdd7bd82b71:/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp diff --git a/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp b/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp index 9fc946ca..2bf345de 100644 --- a/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp +++ b/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp @@ -51,9 +51,13 @@ return "ipq_cap v.1.2"; } //----------------------------------------------------------------------------- IPQ_CAP::IPQ_CAP() + : ipq_h(NULL), + nonstop(false), + isRunning(false), + capSock(-1), + traffCnt(NULL) { -isRunning = false; -nonstop = false; +memset(buf, 0, BUFSIZE); } //----------------------------------------------------------------------------- void IPQ_CAP::SetTraffcounter(TRAFFCOUNTER * tc)