]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp
README converted from KOI8 to UTF8
[stg.git] / projects / stargazer / plugins / capture / ether_freebsd / ether_cap.cpp
index 0ebec5b6e1a0d45f380021f73793580c7fdac4a9..27141b91b94e371b87cfc05fc0240932fdc844a4 100644 (file)
@@ -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)