aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/protocols/rtc.cc
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-10-08 14:00:20 +0000
committerGerrit Code Review <gerrit@fd.io>2019-10-08 14:00:20 +0000
commit4802315ae6800dd9c433296f9012373244df19e5 (patch)
treed73e085453a6182f84bd906fab605a993a236f6c /libtransport/src/hicn/transport/protocols/rtc.cc
parentbc057491691b84c877e276f611a818b2455f67f1 (diff)
parente8e399a5fd74ff35f703364c876e01679f0606b7 (diff)
Merge "[HICN-302] low rate traffic in RTC"
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/rtc.cc')
-rw-r--r--libtransport/src/hicn/transport/protocols/rtc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc
index b3a00c58d..4104d8883 100644
--- a/libtransport/src/hicn/transport/protocols/rtc.cc
+++ b/libtransport/src/hicn/transport/protocols/rtc.cc
@@ -744,7 +744,7 @@ bool RTCTransportProtocol::onNack(const ContentObject &content_object, bool rtx)
old_nack = true;
} else if (productionSeg < nackSegment) {
- actualSegment_ = (productionSeg + 1) % HICN_MIN_PROBE_SEQ;
+ actualSegment_ = productionSeg % HICN_MIN_PROBE_SEQ;
if(!rtx){
// we are asking stuff in the future