X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_frontend_net.hpp;h=b1c6bd40a92099734a2fe2d78abc4ddd88ecd71a;hb=a27375762602ee41a01282b59aae617c0764b38b;hp=d00945f11358474b9e038c31b03d1802138af146;hpb=cea1fb12604fd1ddbac6804b95c4aff078d30409;p=metaproxy-moved-to-github.git diff --git a/src/filter_frontend_net.hpp b/src/filter_frontend_net.hpp index d00945f..b1c6bd4 100644 --- a/src/filter_frontend_net.hpp +++ b/src/filter_frontend_net.hpp @@ -3,6 +3,7 @@ #define FILTER_FRONEND_NET_HPP #include +#include #include "filter.hpp" @@ -13,11 +14,11 @@ namespace yp2 { void process(yp2::Package & package) const; private: int m_no_threads; - std::string m_listen_address; + std::vector m_ports; int m_listen_duration; public: /// set function - left val in assignment - std::string & listen_address(); + std::vector &ports(); int &listen_duration(); }; }