diff options
Diffstat (limited to 'epan/dissectors/packet-mrp-mvrp.c')
-rw-r--r-- | epan/dissectors/packet-mrp-mvrp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mrp-mvrp.c b/epan/dissectors/packet-mrp-mvrp.c index b4273f53c4..b6824b07d7 100644 --- a/epan/dissectors/packet-mrp-mvrp.c +++ b/epan/dissectors/packet-mrp-mvrp.c @@ -263,8 +263,9 @@ dissect_mvrp(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_mvrp_common1(msg_tree, tvb, msg_offset); |