X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d52fc229670f4758390a46052250c11af263dab1..2cb51233d326dc99fa8aefafa72c1ecefb605d02:/projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp?ds=sidebyside 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")