From 93c7c1b8634f7dbe83b710df9908db9706cbe755 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 7 Dec 2010 17:22:18 +0200 Subject: [PATCH] =?utf8?q?=D0=92=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD?= =?utf8?q?=D0=B0=D1=85=20=D0=B7=D0=B0=D1=85=D0=B2=D0=B0=D1=82=D0=B0=20?= =?utf8?q?=D1=82=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F?= =?utf8?q?=20Divert-=D1=81=D0=BE=D0=BA=D0=B5=D1=82=D0=BE=D0=B2=20=D0=B8=20?= =?utf8?q?BPF=20=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE=D0=B2=D0=B0?= =?utf8?q?=D0=BD=D0=B0=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB=D0=B8?= =?utf8?q?=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D1=87=D0=BB=D0=B5=D0=BD=D0=BE?= =?utf8?q?=D0=B2=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20=D1=81=D0=BF=D0=B8?= =?utf8?q?=D1=81=D0=BE=D0=BA=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=D0=B8=20=D0=B2=20=D0=BA=D0=BE?= =?utf8?q?=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D0=BE=D1=80=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../stargazer/plugins/capture/divert_freebsd/divert_cap.cpp | 6 ++++-- .../stargazer/plugins/capture/ether_freebsd/ether_cap.cpp | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp index a76629fb..59fc06a9 100644 --- a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp +++ b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp @@ -96,9 +96,11 @@ return "Divert_cap v.1.0"; } //----------------------------------------------------------------------------- DIVERT_CAP::DIVERT_CAP() + : port(0), + nonstop(false), + isRunning(false), + traffCnt(NULL) { -isRunning = false; -nonstop = false; } //----------------------------------------------------------------------------- void DIVERT_CAP::SetTraffcounter(TRAFFCOUNTER * tc) diff --git a/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp b/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp index 0ebec5b6..27141b91 100644 --- a/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp +++ b/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp @@ -176,9 +176,11 @@ return "bpf_cap v.1.0"; } //----------------------------------------------------------------------------- BPF_CAP::BPF_CAP() + : nonstop(false), + isRunning(false), + capSock(-1), + traffCnt(NULL) { -isRunning = false; -nonstop = false; } //----------------------------------------------------------------------------- void BPF_CAP::SetSettings(const MODULE_SETTINGS & s) -- 2.44.2