When a capture starts with a non-zero SN, don't report 0-(SN-1) as

missing.

svn path=/trunk/; revision=41837
This commit is contained in:
Martin Mathieson 2012-03-30 01:18:12 +00:00
parent 786c604ad0
commit 5282c1b9c5
1 changed files with 4 additions and 1 deletions

View File

@ -635,6 +635,9 @@ static void checkChannelSequenceInfo(packet_info *pinfo, tvbuff_t *tvb,
if (!createdChannel) {
expectedSequenceNumber = (p_channel_status->previousSequenceNumber + 1) % snLimit;
}
else {
expectedSequenceNumber = sequenceNumber;
}
/* Set report for this frame */
/* For PDCP, sequence number is always expectedSequence number */
@ -2022,7 +2025,7 @@ static void dissect_pdcp_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
col_set_writable(pinfo->cinfo, FALSE);
}
else {
/* TODO: won't help with multiple PDCP PDUs / frame */
/* TODO: won't help with multiple PDCP-or-traffic PDUs / frame... */
col_clear(pinfo->cinfo, COL_INFO);
col_set_writable(pinfo->cinfo, TRUE);
}