From 65be9187da4b2fd67b79d2b28162b83ec2fd59bc Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 24 Feb 2017 20:12:47 +0100 Subject: - Fixed bug in retrieving the max number of retransmissions. Change-Id: I690bfd693c75c86c4d6fe2be80c3dc24f0dd059c Signed-off-by: Mauro Sardara --- icnet/transport/icnet_transport_vegas.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icnet/transport/icnet_transport_vegas.cc b/icnet/transport/icnet_transport_vegas.cc index b64678f7..d5a3c500 100644 --- a/icnet/transport/icnet_transport_vegas.cc +++ b/icnet/transport/icnet_transport_vegas.cc @@ -325,7 +325,7 @@ void VegasTransportProtocol::onTimeout(const Interest &interest) { afterDataUnsatisfied(segment); int max_retransmissions; - socket_->getSocketOption(ConsumerCallbacksOptions::INTEREST_RETRANSMISSION, max_retransmissions); + socket_->getSocketOption(GeneralTransportOptions::MAX_INTEREST_RETX, max_retransmissions); if (interest_retransmissions_[segment % default_values::default_buffer_size] < max_retransmissions) { -- cgit 1.2.3-korg