Skip to content

Commit 09d2a12

Browse files
authored
Merge pull request OpenDDS#5039 from mitza-oci/rtpsudp-log-gap
rtps_udp: Added logging for received gaps
2 parents ec2a4c1 + 2915bb3 commit 09d2a12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dds/DCPS/transport/rtps_udp/RtpsUdpDataLink.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,11 @@ RtpsUdpDataLink::RtpsReader::process_gap_i(const RTPS::GapSubmessage& gap,
18501850
const SequenceNumber start = to_opendds_seqnum(gap.gapStart);
18511851
const SequenceNumber base = to_opendds_seqnum(gap.gapList.bitmapBase);
18521852

1853+
if (Transport_debug_level > 5) {
1854+
ACE_DEBUG((LM_DEBUG, "(%P|%t) RtpsUdpDataLink::RtpsReader::process_gap_i: %C -> %C start %q base %q bits %u\n",
1855+
LogGuid(src).c_str(), LogGuid(id_).c_str(), start.getValue(), base.getValue(), gap.gapList.numBits));
1856+
}
1857+
18531858
if (start < base) {
18541859
writer->recvd_.insert(SequenceRange(start, base.previous()));
18551860
} else if (start != base) {

0 commit comments

Comments
 (0)