]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/pcap/pcap_cap.cpp
Merge branch 'stg-2.409'
[stg.git] / projects / stargazer / plugins / capture / pcap / pcap_cap.cpp
index 57a5a8781d22ea1ba8c86b3db6a50c332a204ff1..d085df6623f9b3b51ba7b606c80f70f53ca9ba8b 100644 (file)
@@ -63,12 +63,10 @@ return "pcap_cap v.1.0";
 }
 //-----------------------------------------------------------------------------
 PCAP_CAP::PCAP_CAP()
 }
 //-----------------------------------------------------------------------------
 PCAP_CAP::PCAP_CAP()
-    : errorStr(),
-      thread(),
-      nonstop(false),
+    : nonstop(false),
       isRunning(false),
       traffCnt(NULL),
       isRunning(false),
       traffCnt(NULL),
-      logger(GetPluginLogger(GetStgLogger(), "cap_pcap"))
+      logger(GetPluginLogger(GetStgLogger(), "pcap_cap"))
 {
 }
 //-----------------------------------------------------------------------------
 {
 }
 //-----------------------------------------------------------------------------
@@ -79,7 +77,7 @@ devices.erase(devices.begin(), devices.end());
 if (settings.moduleParams.empty())
     {
     devices.push_back(DEV());
 if (settings.moduleParams.empty())
     {
     devices.push_back(DEV());
-    logger("Defaulting to pseudo-device 'all'.");
+    logger("Defaulting to pseudo-device 'any'.");
     return 0;
     }
 
     return 0;
     }