]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
Merge branch 'master' into full-month-stats
[stg.git] / projects / stargazer / plugins / capture / ether_freebsd / ether_cap.h
index 8f7e1f2fdd1693e8954047442b11ad559c9ad4fe..0a00cb045babf5bb7ca1324ffbe9ffada6dfde6d 100644 (file)
@@ -35,6 +35,7 @@
 #include "stg/os_int.h"
 #include "stg/plugin.h"
 #include "stg/module_settings.h"
+#include "stg/logger.h"
 
 extern "C" PLUGIN * GetPlugin();
 
@@ -107,8 +108,8 @@ public:
 
     const std::string & GetStrError() const { return errorStr; }
     const std::string   GetVersion() const;
-    uint16_t            GetStartPosition() const { return 10; }
-    uint16_t            GetStopPosition() const { return 10; }
+    uint16_t            GetStartPosition() const { return 40; }
+    uint16_t            GetStopPosition() const { return 40; }
 
 private:
     BPF_CAP(const BPF_CAP & rvalue);
@@ -135,6 +136,8 @@ private:
     MODULE_SETTINGS       settings;
 
     TRAFFCOUNTER *        traffCnt;
+
+    PLUGIN_LOGGER         logger;
 };
 //-----------------------------------------------------------------------------