aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/protocols/cbr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/cbr.cc')
-rw-r--r--libtransport/src/hicn/transport/protocols/cbr.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/protocols/cbr.cc b/libtransport/src/hicn/transport/protocols/cbr.cc
index efd2149ad..02bc7b5e4 100644
--- a/libtransport/src/hicn/transport/protocols/cbr.cc
+++ b/libtransport/src/hicn/transport/protocols/cbr.cc
@@ -26,10 +26,12 @@ CbrTransportProtocol::CbrTransportProtocol(
interface::ConsumerSocket *icnet_socket)
: RaaqmTransportProtocol(icnet_socket) {}
-int CbrTransportProtocol::start() {
+int CbrTransportProtocol::start() { return RaaqmTransportProtocol::start(); }
+
+void CbrTransportProtocol::reset() {
+ RaaqmTransportProtocol::reset();
socket_->getSocketOption(GeneralTransportOptions::CURRENT_WINDOW_SIZE,
current_window_size_);
- return RaaqmTransportProtocol::start();
}
void CbrTransportProtocol::afterDataUnsatisfied(uint64_t segment) {}