summaryrefslogtreecommitdiff
path: root/src/connectionParam.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-11-24 20:53:39 +0000
committerOthmar Gsenger <otti@anytun.org>2008-11-24 20:53:39 +0000
commite82b5c1dd3420093c269d6d4e0bae80c6331e396 (patch)
tree1134c76b585d416472b726bad2dd92ed40fd7cb6 /src/connectionParam.h
parentPacketSource changed to use endpoint instead of port and address (diff)
temp ceckin
Diffstat (limited to 'src/connectionParam.h')
-rw-r--r--src/connectionParam.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/connectionParam.h b/src/connectionParam.h
index 337151c..8558c24 100644
--- a/src/connectionParam.h
+++ b/src/connectionParam.h
@@ -45,13 +45,12 @@ class ConnectionParam
{
public:
ConnectionParam(const ConnectionParam & src);
- ConnectionParam( KeyDerivation& kd, SeqWindow& seq_window, seq_nr_t seq_nr_, std::string remote_host, u_int16_t remote_port);
+ ConnectionParam( KeyDerivation& kd, SeqWindow& seq_window, seq_nr_t seq_nr_, boost::asio::ip::udp::endpoint endpoint);
KeyDerivation& kd_;
SeqWindow& seq_window_;
seq_nr_t seq_nr_;
- std::string remote_host_;
- u_int16_t remote_port_;
+ boost::asio::ip::udp::endpoint endpoint_;
private:
//TODO: check if this is ok