]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp
Тимчасово прибрано тип size_t із налаштуваннь
[stg.git] / projects / stargazer / plugins / capture / ipq_linux / ipq_cap.cpp
index 9fc946ca1056f0c50548acf32bd17abad953dec0..2bf345debc870bb3d542f9639e9af42d07505fcb 100644 (file)
@@ -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)