diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-16 11:43:38 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-16 11:43:38 +0000 |
commit | f2952766267f6284999eb50bd35f2de892913c7e (patch) | |
tree | c5f9bd1a6b9cfb26df3de77c2cb27d661c19e9ab /epan/dissectors/packet-atm.c | |
parent | 212dda7970cb95a4b73438ba7d97ced9f50fd1ee (diff) |
Use the new "proto_tree_add_*_format_value" routines.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17316 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-atm.c')
-rw-r--r-- | epan/dissectors/packet-atm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c index 0cf1c96728..559efc7866 100644 --- a/epan/dissectors/packet-atm.c +++ b/epan/dissectors/packet-atm.c @@ -1573,9 +1573,9 @@ dissect_atm_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, break; } - proto_tree_add_uint_format(atm_tree, hf_atm_aal, tvb, 0, 0, + proto_tree_add_uint_format_value(atm_tree, hf_atm_aal, tvb, 0, 0, pinfo->pseudo_header->atm.aal, - "AAL: %s", + "%s", val_to_str(pinfo->pseudo_header->atm.aal, aal_vals, "Unknown AAL (%u)")); } |