X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a9c940996bac5c61168f06ef61bc20225fb7a65e..2501ff5278198b17c195536d0953cbb40d1a5d3b:/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h diff --git a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h index 65ee87d3..25fd29c2 100644 --- a/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h +++ b/projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h @@ -33,6 +33,7 @@ $Date: 2009/06/23 11:32:27 $ #include "stg/plugin.h" #include "stg/module_settings.h" +#include "stg/logger.h" class USERS; class TARIFFS; @@ -59,8 +60,8 @@ public: int ParseSettings(); 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: DIVERT_CAP(const DIVERT_CAP & rvalue); @@ -77,6 +78,7 @@ private: MODULE_SETTINGS settings; int port; + bool disableForwarding; mutable std::string errorStr; @@ -86,6 +88,8 @@ private: bool isRunning; TRAFFCOUNTER * traffCnt; + + PLUGIN_LOGGER logger; }; //-----------------------------------------------------------------------------