aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-01-20 19:26:24 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-01-20 19:26:24 +0000
commit13e90b72b3833198c5ebe8c1ba79ef863977fca6 (patch)
tree12d6a120e6c2cba3ef90efcbc1b52ec3a8830dd3 /epan/dissectors
parentcc3163c104521be4863141029627cdc3d4b29f4f (diff)
use col_set_fence for COL_INFO, if multiple DCE/RPC requests/responses are in one (TCP)PDU. I've used " # " as the delimiter string, BTW: do we have an "official" one yet?
svn path=/trunk/; revision=13149
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-dcerpc.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c
index fe4495cf6b..6f5eac541b 100644
--- a/epan/dissectors/packet-dcerpc.c
+++ b/epan/dissectors/packet-dcerpc.c
@@ -3588,9 +3588,17 @@ dissect_dcerpc_cn (tvbuff_t *tvb, int offset, packet_info *pinfo,
if (check_col (pinfo->cinfo, COL_PROTOCOL))
col_set_str (pinfo->cinfo, COL_PROTOCOL, "DCERPC");
- if (check_col (pinfo->cinfo, COL_INFO))
+
+ if (check_col (pinfo->cinfo, COL_INFO)) {
+ if(pinfo->dcectxid != 0) {
+ /* this is not the first DCE-RPC request/response in this (TCP?-)PDU,
+ * append a delimiter and set a column fence */
+ col_append_str (pinfo->cinfo, COL_INFO, " # ");
+ col_set_fence(pinfo->cinfo,COL_INFO);
+ }
col_add_fstr (pinfo->cinfo, COL_INFO, "%s: call_id: %u",
- pckt_vals[hdr.ptype].strptr, hdr.call_id);
+ pckt_vals[hdr.ptype].strptr, hdr.call_id);
+ }
if (tree) {
offset = start_offset;