From b285dd68dd3cafc5f0f9d4880749d1dae2e62fbe Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 7 Dec 2010 17:27:20 +0200 Subject: [PATCH] =?utf8?q?=D0=92=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD?= =?utf8?q?=D0=B5=20=D0=B7=D0=B0=D1=85=D0=B2=D0=B0=D1=82=D0=B0=20=D1=82?= =?utf8?q?=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D0=B0=20=D1=87=D0=B5=D1=80=D0=B5?= =?utf8?q?=D0=B7=20IPQ=20=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE=D0=B2?= =?utf8?q?=D0=B0=D0=BD=D0=B0=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB?= =?utf8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D1=87=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=BE=D0=B2=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=D0=B0=20=D1=87?= =?utf8?q?=D0=B5=D1=80=D0=B5=D0=B7=20=D1=81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA?= =?utf8?q?=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0?= =?utf8?q?=D1=86=D0=B8=D0=B8=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82?= =?utf8?q?=D1=80=D1=83=D0=BA=D1=82=D0=BE=D1=80=D0=B5.=20=D0=A2=D0=B0=D0=BA?= =?utf8?q?=20=D0=B6=D0=B5=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=BE=20=D0=BE=D0=B1=D0=BD=D1=83=D0=BB=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D0=B1=D1=83=D1=84=D0=B5=D1=80=D0=B0=20=D0=B2=20=D0=BA?= =?utf8?q?=D0=BE=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D0=BE=D1=80?= =?utf8?q?=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.44.2