diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-10-11 08:23:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-10-11 08:23:29 +0000 |
commit | dda0e941618c2a51ff8754f8ee9408695865683f (patch) | |
tree | 7b68f656572903e275d27c0c9e4b537262ffcdbf | |
parent | f6914a05af131d06542b945a07575bd530a35a59 (diff) |
hf_isup_cic is now BASE_DEC, so there's no reason to use
proto_tree_add_uint_format() to make it display in decimal -
proto_tree_add_uint() suffices.
svn path=/trunk/; revision=45464
-rw-r--r-- | epan/dissectors/packet-isup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c index 265a2f2938..fb107180b2 100644 --- a/epan/dissectors/packet-isup.c +++ b/epan/dissectors/packet-isup.c @@ -9736,7 +9736,7 @@ dissect_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { ti = proto_tree_add_item(tree, proto_isup, tvb, 0, -1, ENC_NA); isup_tree = proto_item_add_subtree(ti, ett_isup); - proto_tree_add_uint_format(isup_tree, hf_isup_cic, tvb, CIC_OFFSET, CIC_LENGTH, cic, "CIC: %u", cic); + proto_tree_add_uint(isup_tree, hf_isup_cic, tvb, CIC_OFFSET, CIC_LENGTH, cic); } message_tvb = tvb_new_subset_remaining(tvb, CIC_LENGTH); dissect_ansi_isup_message(message_tvb, pinfo, isup_tree, ISUP_ITU_STANDARD_VARIANT); @@ -9780,7 +9780,7 @@ dissect_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { ti = proto_tree_add_item(tree, proto_isup, tvb, 0, -1, ENC_NA); isup_tree = proto_item_add_subtree(ti, ett_isup); - proto_tree_add_uint_format(isup_tree, hf_isup_cic, tvb, CIC_OFFSET, CIC_LENGTH, cic, "CIC: %u", cic); + proto_tree_add_uint(isup_tree, hf_isup_cic, tvb, CIC_OFFSET, CIC_LENGTH, cic); } message_tvb = tvb_new_subset_remaining(tvb, CIC_LENGTH); dissect_isup_message(message_tvb, pinfo, isup_tree, itu_isup_variant); |