X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d52fc229670f4758390a46052250c11af263dab1..ab222ac8a6eb5d308267f54d82aac9fabe93d877:/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp?ds=inline diff --git a/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp b/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp index 4ef1ee8e..0e0204da 100644 --- a/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp +++ b/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp @@ -37,6 +37,8 @@ $Author: faust $ #include #include +#include + #include "common.h" #include "cap_nf.h" #include "raw_ip_packet.h" @@ -61,7 +63,7 @@ private: NF_CAP * nf; } cnc; -BASE_PLUGIN * GetPlugin() +PLUGIN * GetPlugin() { return cnc.GetCapturer(); } @@ -87,7 +89,7 @@ NF_CAP::~NF_CAP() int NF_CAP::ParseSettings() { -vector::iterator it; +std::vector::iterator it; for (it = settings.moduleParams.begin(); it != settings.moduleParams.end(); ++it) { if (it->param == "TCPPort")