X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..892385e632dee65c9eac60ba3a358e9e95d4a193:/projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp?ds=inline 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)