diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-13 00:20:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-13 00:20:40 +0000 |
commit | 998677339e470b478a5c1e65595273b634d3aaeb (patch) | |
tree | 032f21d1db8a2246e50a430cee382a92b3ea5093 /epan/dissectors/packet-mq.c | |
parent | 308bb550da27265f8257f771e94c5971a8438261 (diff) |
Create a new REP_NA value for fields where there are no representations
from which to choose; use that for protocol fields in some protocols
(modify the CORBA generator to use it, and manually update the generated
CORBA dissectors accordingly).
svn path=/trunk/; revision=32777
Diffstat (limited to 'epan/dissectors/packet-mq.c')
-rw-r--r-- | epan/dissectors/packet-mq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c index 4c9a60880a..d567220896 100644 --- a/epan/dissectors/packet-mq.c +++ b/epan/dissectors/packet-mq.c @@ -1276,7 +1276,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { - ti = proto_tree_add_item(tree, proto_mq, tvb, offset, -1, FALSE); + ti = proto_tree_add_item(tree, proto_mq, tvb, offset, -1, REP_NA); proto_item_append_text(ti, " (%s)", val_to_str(opcode, mq_opcode_vals, "Unknown (0x%02x)")); if (bEBCDIC == TRUE) proto_item_append_text(ti, " (EBCDIC)"); mqroot_tree = proto_item_add_subtree(ti, ett_mq); @@ -2300,7 +2300,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_append_str(pinfo->cinfo, COL_INFO, " [Undesegmented]"); if (tree) { - proto_tree_add_item(tree, proto_mq, tvb, offset, -1, FALSE); + proto_tree_add_item(tree, proto_mq, tvb, offset, -1, REP_NA); } call_dissector(data_handle, tvb_new_subset_remaining(tvb, offset), pinfo, tree); } @@ -2367,7 +2367,7 @@ reassemble_mq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { proto_item* ti = NULL; - ti = proto_tree_add_item(tree, proto_mq, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_mq, tvb, 0, -1, REP_NA); proto_item_append_text(ti, " (%s) [Reassembled MQ]", val_to_str(opcode, mq_opcode_vals, "Unknown (0x%02x)")); } return; |