diff options
Diffstat (limited to 'epan/dissectors/packet-nhrp.c')
-rw-r--r-- | epan/dissectors/packet-nhrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nhrp.c b/epan/dissectors/packet-nhrp.c index 7e390c5a03..94bbab6a3b 100644 --- a/epan/dissectors/packet-nhrp.c +++ b/epan/dissectors/packet-nhrp.c @@ -335,8 +335,8 @@ void dissect_nhrp_hdr(tvbuff_t *tvb, pro_type_str = val_to_str_const(hdr->ar_pro_type, etype_vals, "Unknown Ethertype"); } - proto_tree_add_uint_format(nhrp_tree, hf_nhrp_hdr_pro_type, tvb, offset, 2, - hdr->ar_pro_type, "Protocol Type (short form): %s (0x%04x)", + proto_tree_add_uint_format_value(nhrp_tree, hf_nhrp_hdr_pro_type, tvb, offset, 2, + hdr->ar_pro_type, "%s (0x%04x)", pro_type_str, hdr->ar_pro_type); offset += 2; |