aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtn.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-08-13 18:03:17 +0000
committerGuy Harris <guy@alum.mit.edu>2013-08-13 18:03:17 +0000
commit4771fdbb7e23ee08f821e9a9c4e7b43c3d96b307 (patch)
tree68346e8dddfc877738b021fe63618f0094a4c14a /epan/dissectors/packet-dtn.c
parent02462c731085d47cce4f5d9b840a5fa7204f8b1e (diff)
Fix intended proto_tree_add_item() call that mistakenly called
proto_tree_add_uint(); caught by the checkAPI script run in a Windows build. svn path=/trunk/; revision=51340
Diffstat (limited to 'epan/dissectors/packet-dtn.c')
-rw-r--r--epan/dissectors/packet-dtn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtn.c b/epan/dissectors/packet-dtn.c
index cdc7240125..b366e1f04b 100644
--- a/epan/dissectors/packet-dtn.c
+++ b/epan/dissectors/packet-dtn.c
@@ -476,7 +476,7 @@ dissect_version_4_primary_header(packet_info *pinfo, proto_tree *primary_tree, t
cos_flag_item = proto_tree_add_item(primary_tree, hf_bundle_cosflags, tvb,
offset, 1, ENC_BIG_ENDIAN);
cos_flag_tree = proto_item_add_subtree(cos_flag_item, ett_cos_flags);
- proto_tree_add_uint(cos_flag_tree, hf_bundle_cosflags_priority,
+ proto_tree_add_item(cos_flag_tree, hf_bundle_cosflags_priority,
tvb, offset, 1, ENC_BIG_ENDIAN);
/* Status Report Request Flags */
++offset;