diff --git a/src/internet/model/tcp-cubic.cc b/src/internet/model/tcp-cubic.cc index 24298a338..ea9a47649 100644 --- a/src/internet/model/tcp-cubic.cc +++ b/src/internet/model/tcp-cubic.cc @@ -173,6 +173,12 @@ TcpCubic::GetName() const return "TcpCubic"; } +void +TcpCubic::Init(Ptr tcb) +{ + HystartReset(tcb); +} + void TcpCubic::HystartReset(Ptr tcb) { diff --git a/src/internet/model/tcp-cubic.h b/src/internet/model/tcp-cubic.h index 9da52ee1b..fdcda278c 100644 --- a/src/internet/model/tcp-cubic.h +++ b/src/internet/model/tcp-cubic.h @@ -101,6 +101,7 @@ class TcpCubic : public TcpCongestionOps const TcpSocketState::TcpCongState_t newState) override; Ptr Fork() override; + void Init(Ptr tcb) override; private: bool m_fastConvergence; //!< Enable or disable fast convergence algorithm