From e8e399a5fd74ff35f703364c876e01679f0606b7 Mon Sep 17 00:00:00 2001 From: michele papalini Date: Tue, 8 Oct 2019 11:20:25 +0200 Subject: [HICN-302] low rate traffic in RTC Signed-off-by: michele papalini Change-Id: Ib6511d82abc91e9008588cd2b7fd80022c6d232b --- libtransport/src/hicn/transport/protocols/rtc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtransport/src/hicn/transport/protocols/rtc.cc') 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 -- cgit 1.2.3-korg