summaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-02-12 15:26:57 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2020-02-12 15:26:57 +0100
commitcea443f1b7d1750ac061b33b2200997ad59e8505 (patch)
tree656503d4e77c345b40dabd4b379d957febd96650 /libtransport
parent0e016eba61b2918feed39bb6eaf2d093f45b9581 (diff)
[HICN-513] fix uninitialized batching parameter in libtransport's rate estimation
Change-Id: I5e3855439994dea453d68cda446b6756240265a9 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/src/hicn/transport/interfaces/socket_consumer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/interfaces/socket_consumer.cc b/libtransport/src/hicn/transport/interfaces/socket_consumer.cc
index 64b60101d..fbe4bed1a 100644
--- a/libtransport/src/hicn/transport/interfaces/socket_consumer.cc
+++ b/libtransport/src/hicn/transport/interfaces/socket_consumer.cc
@@ -44,6 +44,7 @@ ConsumerSocket::ConsumerSocket(int protocol, asio::io_service &io_service)
/****** END RAAQM Parameters ******/
rate_estimation_alpha_(default_values::rate_alpha),
rate_estimation_observer_(nullptr),
+ rate_estimation_batching_parameter_(default_values::batch),
rate_estimation_choice_(0),
verifier_(std::make_shared<utils::Verifier>()),
verify_signature_(false),
@@ -788,4 +789,4 @@ int ConsumerSocket::getSocketOption(
} // namespace interface
-} // end namespace transport \ No newline at end of file
+} // end namespace transport