aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lmp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-19 20:32:21 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-19 20:32:21 +0000
commitd7aabb730adda1b31548dd1da99d97541073817c (patch)
tree7c9623ee427a0ea4b5c17415f5fb221f415485a1 /epan/dissectors/packet-lmp.c
parentd9d97688a3520ab47e6cac1faad1a9821293ece1 (diff)
Fix several benign instances wherein proto_tree_add_[uint|boolean]() was intended rather than proto_tree_add_item().
svn path=/trunk/; revision=39475
Diffstat (limited to 'epan/dissectors/packet-lmp.c')
-rw-r--r--epan/dissectors/packet-lmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lmp.c b/epan/dissectors/packet-lmp.c
index 34712d8815..89afdb96f3 100644
--- a/epan/dissectors/packet-lmp.c
+++ b/epan/dissectors/packet-lmp.c
@@ -801,7 +801,7 @@ dissect_lmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_text(lmp_object_header_tree, tvb, offset+1, 1,
"Object Class: %u - %s",
class, object_type);
- proto_tree_add_item(lmp_object_header_tree, hf_lmp_filter[LMPF_VAL_CTYPE],
+ proto_tree_add_uint(lmp_object_header_tree, hf_lmp_filter[LMPF_VAL_CTYPE],
tvb, offset, 1, type);
offset2 = offset+4;
mylen = obj_length - 4;