diff options
Diffstat (limited to 'epan/dissectors/packet-mrp-mmrp.c')
-rw-r--r-- | epan/dissectors/packet-mrp-mmrp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mrp-mmrp.c b/epan/dissectors/packet-mrp-mmrp.c index 46353ed594..6f5b613047 100644 --- a/epan/dissectors/packet-mrp-mmrp.c +++ b/epan/dissectors/packet-mrp-mmrp.c @@ -266,8 +266,9 @@ dissect_mmrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) msg_tree = proto_item_add_subtree(msg_ti, ett_msg); /* Append AttributeType description to the end of the "Message" heading */ - proto_item_append_text(msg_tree, ": %s (%d)", val_to_str(attribute_type, - attribute_type_vals, "<Unknown>"), attribute_type); + proto_item_append_text(msg_tree, ": %s (%d)", + val_to_str_const(attribute_type, attribute_type_vals, "<Unknown>"), + attribute_type); dissect_mmrp_common1(msg_tree, tvb, msg_offset); |