git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimized sending answers in sgconfig.
[stg.git]
/
projects
/
stargazer
/
plugins
/
capture
/
ether_freebsd
/
ether_cap.h
diff --git
a/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
b/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
index ad9ff9f15ae817f7754dff0d0dc8a6ff7869f27b..76785ed293ebb55f2116cf2549920371cc21ed39 100644
(file)
--- a/
projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
+++ b/
projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
@@
-35,8
+35,7
@@
#include "stg/os_int.h"
#include "stg/plugin.h"
#include "stg/module_settings.h"
#include "stg/os_int.h"
#include "stg/plugin.h"
#include "stg/module_settings.h"
-
-extern "C" PLUGIN * GetPlugin();
+#include "stg/logger.h"
#define BUFF_LEN (128)
#define BUFF_LEN (128)
@@
-106,7
+105,7
@@
public:
int ParseSettings();
const std::string & GetStrError() const { return errorStr; }
int ParseSettings();
const std::string & GetStrError() const { return errorStr; }
-
const std::string
GetVersion() const;
+
std::string
GetVersion() const;
uint16_t GetStartPosition() const { return 40; }
uint16_t GetStopPosition() const { return 40; }
uint16_t GetStartPosition() const { return 40; }
uint16_t GetStopPosition() const { return 40; }
@@
-135,6
+134,8
@@
private:
MODULE_SETTINGS settings;
TRAFFCOUNTER * traffCnt;
MODULE_SETTINGS settings;
TRAFFCOUNTER * traffCnt;
+
+ PLUGIN_LOGGER logger;
};
//-----------------------------------------------------------------------------
};
//-----------------------------------------------------------------------------