aboutsummaryrefslogtreecommitdiffstats
path: root/icnet
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-02-24 20:12:47 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2017-02-24 20:12:47 +0100
commit65be9187da4b2fd67b79d2b28162b83ec2fd59bc (patch)
treec396c06d5a95631d97b47bcf4c2cbe1e0e0adf65 /icnet
parent6b8a37403caf8830e85476343ad4be13c7372537 (diff)
- Fixed bug in retrieving the max number of retransmissions.
Change-Id: I690bfd693c75c86c4d6fe2be80c3dc24f0dd059c Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet')
-rw-r--r--icnet/transport/icnet_transport_vegas.cc2
1 files changed, 1 insertions, 1 deletions
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) {