aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dec-dnart.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-11 15:39:47 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-11 15:39:47 +0000
commit67dda34221232aeb8d136e36cb6825b77630a7c7 (patch)
tree370ad4924921746829b38180e304f54e5c40798e /epan/dissectors/packet-dec-dnart.c
parent13f39288a07baae802f2d3a7f9c261cecd910115 (diff)
Fix benign bugs wherein proto_tree_add_uint() was intended instead of proto_tree_add_item();
(Replaces changes made in SVN #39351). svn path=/trunk/; revision=39361
Diffstat (limited to 'epan/dissectors/packet-dec-dnart.c')
-rw-r--r--epan/dissectors/packet-dec-dnart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dec-dnart.c b/epan/dissectors/packet-dec-dnart.c
index 9e4fefef8f..764756288d 100644
--- a/epan/dissectors/packet-dec-dnart.c
+++ b/epan/dissectors/packet-dec-dnart.c
@@ -505,8 +505,8 @@ dissect_dec_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset, 1, rt_zero);
offset++;
} else {
- proto_tree_add_item(flags_tree, hf_dec_rt_short_msg,
- tvb, offset, 1, ENC_LITTLE_ENDIAN);
+ proto_tree_add_uint(flags_tree, hf_dec_rt_short_msg,
+ tvb, offset, 1, msg_flags);
proto_tree_add_boolean(flags_tree, hf_dec_rt_rqr, tvb,
offset, 1, msg_flags);
proto_tree_add_boolean(flags_tree, hf_dec_rt_rts, tvb,