diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-09-16 22:05:50 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-09-16 22:05:50 +0000 |
commit | 485d75946c8ceafb84a5502c07494c1b9ea278e3 (patch) | |
tree | 6fe022ee53b3ebb55cc51cd47c11c2b891d6fabd | |
parent | 33cfe1725a4d649f764a8e2a4970c41247d65daf (diff) |
split call id's with a #, if more than one DCE/RPC call is in a data PDU
svn path=/trunk/; revision=15841
-rw-r--r-- | epan/dissectors/packet-dcerpc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c index 9fdd82c9de..7b37127fad 100644 --- a/epan/dissectors/packet-dcerpc.c +++ b/epan/dissectors/packet-dcerpc.c @@ -3880,7 +3880,13 @@ dissect_dcerpc_cn (tvbuff_t *tvb, int offset, packet_info *pinfo, offset += 4; if (check_col (pinfo->cinfo, COL_DCE_CALL)) { - col_append_fstr (pinfo->cinfo, COL_DCE_CALL, "%u", hdr.call_id); + if(pinfo->dcectxid == 0) { + col_append_fstr (pinfo->cinfo, COL_DCE_CALL, "%u", hdr.call_id); + } else { + /* this is not the first DCE-RPC request/response in this (TCP?-)PDU, + * prepend a delimiter */ + col_append_fstr (pinfo->cinfo, COL_DCE_CALL, "#%u", hdr.call_id); + } } if (can_desegment && pinfo->can_desegment |