aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-11-09 17:33:18 +0000
committerBill Meier <wmeier@newsguy.com>2011-11-09 17:33:18 +0000
commit30cee9900941e991a3c52285dbdd0751b13a0254 (patch)
tree76f458700590551327e10da71a61e8c55cb9826f /epan/dissectors/packet-udp.c
parent4052a406f3b8bd04994290c8c6e7fd0c0ad2e823 (diff)
Fix a number of proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39774
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r--epan/dissectors/packet-udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c
index 575c0ddf9e..9ebfc155fd 100644
--- a/epan/dissectors/packet-udp.c
+++ b/epan/dissectors/packet-udp.c
@@ -329,7 +329,7 @@ dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 ip_proto)
get_udp_port(udph->uh_sport), udph->uh_sport, get_udp_port(udph->uh_dport), udph->uh_dport);
}
} else {
- ti = proto_tree_add_item(tree, (ip_proto == IP_PROTO_UDP) ? proto_udp : proto_udplite, tvb, offset, 8, FALSE);
+ ti = proto_tree_add_item(tree, (ip_proto == IP_PROTO_UDP) ? proto_udp : proto_udplite, tvb, offset, 8, ENC_NA);
}
udp_tree = proto_item_add_subtree(ti, ett_udp);