]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp
Add members initialization
[stg.git] / projects / stargazer / plugins / capture / cap_nf / cap_nf.cpp
index 4ef1ee8ebcd5158886613cde687312d14e561e6f..0e0204da761145b8e50a710c582cd77a7de8454d 100644 (file)
@@ -37,6 +37,8 @@ $Author: faust $
 #include <cerrno>
 #include <cstring>
 
+#include <vector>
+
 #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<PARAM_VALUE>::iterator it;
+std::vector<PARAM_VALUE>::iterator it;
 for (it = settings.moduleParams.begin(); it != settings.moduleParams.end(); ++it)
     {
     if (it->param == "TCPPort")