X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/41793fe3ee6f5b0ddbb8d20afad9ffcc3a923e22..0a85724f8a592894c245f88b425e066a6b9f0e8d:/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp b/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp index 11aa475a..ba9dce06 100644 --- a/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp +++ b/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp @@ -50,7 +50,6 @@ $Date: 2009/12/13 13:45:13 $ //#define CAP_DEBUG 1 - //----------------------------------------------------------------------------- class ETHER_CAP_CREATOR { @@ -79,14 +78,14 @@ ETHER_CAP_CREATOR ecc; //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- -BASE_PLUGIN * GetPlugin() +PLUGIN * GetPlugin() { return ecc.GetCapturer(); } //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- -const string ETHER_CAP::GetVersion() const +const std::string ETHER_CAP::GetVersion() const { return "Ether_cap v.1.2"; } @@ -104,7 +103,7 @@ void ETHER_CAP::SetTraffcounter(TRAFFCOUNTER * tc) traffCnt = tc; } //----------------------------------------------------------------------------- -const string & ETHER_CAP::GetStrError() const +const std::string & ETHER_CAP::GetStrError() const { return errorStr; }