For protocols running atop TCP and PDUs spanning multiple segments

ethereal used to (bug) print in the summary line
"[Continuation to #%d]" where %d was the current frame number.

Fix this bug and let %d print the frame number of the first frame for this multiframe PDU.


(Strange that no one has complained about this one)


svn path=/trunk/; revision=11852
This commit is contained in:
Ronnie Sahlberg 2004-08-30 08:40:08 +00:00
parent 6de3544a52
commit ddf0bdb696
1 changed files with 2 additions and 2 deletions

View File

@ -413,10 +413,10 @@ scan_for_next_pdu(tvbuff_t *tvb, proto_tree *tcp_tree, packet_info *pinfo, int o
g_hash_table_insert(tcp_pdu_skipping_table,
(void *)pinfo->fd->num, (void *)tnp->first_frame);
if (check_col(pinfo->cinfo, COL_INFO)){
col_prepend_fstr(pinfo->cinfo, COL_INFO, "[Continuation to #%u] ",pinfo->fd->num);
col_prepend_fstr(pinfo->cinfo, COL_INFO, "[Continuation to #%u] ", tnp->first_frame);
}
proto_tree_add_uint(tcp_tree, hf_tcp_continuation_to,
tvb, 0, 0, pinfo->fd->num);
tvb, 0, 0, tnp->first_frame);
return -1;
}
if(seq<tnp->nxtpdu && nxtseq>tnp->nxtpdu){