diff options
author | 2019-10-16 15:50:37 +0000 | |
---|---|---|
committer | 2019-10-16 15:50:37 +0000 | |
commit | d663e0a82f626172049d38129292433701b62990 (patch) | |
tree | 3cacaf42b386b5eec4564158baca6e6e55428715 /libtransport/src | |
parent | d5512f62df27252bebf2899a6452aedfffd40e92 (diff) | |
parent | e558c3bac52682e93c7dcab94b3ac4200e88587d (diff) |
Merge "[HICN-333] fix addRetransmissions in RTC consumer socket"
Diffstat (limited to 'libtransport/src')
-rw-r--r-- | libtransport/src/hicn/transport/protocols/rtc.cc | 2 |
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 92ef4ffbc..0b02db438 100644 --- a/libtransport/src/hicn/transport/protocols/rtc.cc +++ b/libtransport/src/hicn/transport/protocols/rtc.cc @@ -509,7 +509,7 @@ void RTCTransportProtocol::addRetransmissions(uint32_t start, uint32_t stop) { for (uint32_t i = start; i < stop; i++) { auto it = interestRetransmissions_.find(i); if (it == interestRetransmissions_.end()) { - uint32_t pkt = actualSegment_ & modMask_; + uint32_t pkt = i & modMask_; if (lastSegNacked_ <= i && inflightInterests_[pkt].state != received_) { // it must be larger than the last past nack received |