summaryrefslogtreecommitdiff
path: root/connectionParam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'connectionParam.cpp')
-rw-r--r--connectionParam.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/connectionParam.cpp b/connectionParam.cpp
index 4c1175a..13c0737 100644
--- a/connectionParam.cpp
+++ b/connectionParam.cpp
@@ -32,7 +32,7 @@
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
-ConnectionParam::ConnectionParam(KeyDerivation& kd, SeqWindow& seq, std::string remote_host, u_int16_t remote_port) : kd_(kd),seq_(seq),remote_host_(remote_host), remote_port_(remote_port)
+ConnectionParam::ConnectionParam(KeyDerivation& kd, SeqWindow& seq_window,seq_nr_t seq_nr, std::string remote_host, u_int16_t remote_port) : kd_(kd),seq_window_(seq_window),seq_nr_(seq_nr),remote_host_(remote_host), remote_port_(remote_port)
{
}
@@ -40,7 +40,8 @@ template<class Archive>
void ConnectionParam::serialize(Archive & ar, const unsigned int version)
{
ar & kd_;
- ar & seq_;
+ ar & seq_window_;
+ ar & seq_nr_;
ar & remote_host_;
ar & remote_port_;
}