X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..433b829dc9275ce0d4925dae4dbc8ea607bae067:/projects/stargazer/plugins/capture/ether_linux/ether_cap.h diff --git a/projects/stargazer/plugins/capture/ether_linux/ether_cap.h b/projects/stargazer/plugins/capture/ether_linux/ether_cap.h index 9643076b..fde7d3a0 100644 --- a/projects/stargazer/plugins/capture/ether_linux/ether_cap.h +++ b/projects/stargazer/plugins/capture/ether_linux/ether_cap.h @@ -26,9 +26,10 @@ #ifndef ETHER_CAP_H #define ETHER_CAP_H -#include #include +#include + #include "base_plugin.h" #include "base_settings.h" #include "../../../traffcounter.h" @@ -37,13 +38,6 @@ using namespace std; extern "C" BASE_PLUGIN * GetPlugin(); -//----------------------------------------------------------------------------- -class ETHER_CAP_SETTINGS -{ -public: - const string& GetStrError() const { static string s; return s; } - int ParseSettings(const MODULE_SETTINGS &) { return 0; } -}; //----------------------------------------------------------------------------- class ETHER_CAP :public BASE_PLUGIN { @@ -77,8 +71,6 @@ private: int EthCapRead(void * buffer, int blen, char ** iface); bool WaitPackets(int sd) const; - ETHER_CAP_SETTINGS capSettings; - mutable string errorStr; pthread_t thread;