diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-08-30 08:40:08 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-08-30 08:40:08 +0000 |
commit | ddf0bdb6967002952e1db3d8fc20a96ddb2c97de (patch) | |
tree | 37884c0f4c0e5c93aaf1eff605b8f35755d75c71 /epan | |
parent | 6de3544a5276d65162d44c2e5f122dfbf65d30b7 (diff) |
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
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index bc702a4f1f..2c02103244 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -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){ |