]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/cap_nf/cap_nf.cpp
Fix compilation issues for XML RPC interface
[stg.git] / projects / stargazer / plugins / capture / cap_nf / cap_nf.cpp
index ddbe935a97033dd14b7671939bb959c8e3126034..0e0204da761145b8e50a710c582cd77a7de8454d 100644 (file)
@@ -37,6 +37,8 @@ $Author: faust $
 #include <cerrno>
 #include <cstring>
 
 #include <cerrno>
 #include <cstring>
 
+#include <vector>
+
 #include "common.h" 
 #include "cap_nf.h"
 #include "raw_ip_packet.h"
 #include "common.h" 
 #include "cap_nf.h"
 #include "raw_ip_packet.h"
@@ -87,7 +89,7 @@ NF_CAP::~NF_CAP()
 
 int NF_CAP::ParseSettings()
 {
 
 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")
 for (it = settings.moduleParams.begin(); it != settings.moduleParams.end(); ++it)
     {
     if (it->param == "TCPPort")