aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udld.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-09 14:08:27 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-09 14:08:27 +0000
commit0193bd854f48eb0945062424ffe927cadf4a767c (patch)
treed6cb817e24cb14cdaf1363710f4b5dd58d0a3f80 /epan/dissectors/packet-udld.c
parent899fc869918559dd2bf0dc51e557f7e6a31c92d6 (diff)
Put flags subtree under correct element.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30879 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-udld.c')
-rw-r--r--epan/dissectors/packet-udld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-udld.c b/epan/dissectors/packet-udld.c
index 61ecb698e8..65165696f4 100644
--- a/epan/dissectors/packet-udld.c
+++ b/epan/dissectors/packet-udld.c
@@ -125,7 +125,7 @@ dissect_udld(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(udld_tree, hf_udld_opcode, tvb, offset, 1, FALSE);
offset += 1;
flags_ti = proto_tree_add_item(udld_tree, hf_udld_flags, tvb, offset, 1, FALSE);
- flags_tree = proto_item_add_subtree(ti, ett_udld_flags);
+ flags_tree = proto_item_add_subtree(flags_ti, ett_udld_flags);
proto_tree_add_item(flags_tree, hf_udld_flags_rt, tvb, offset, 1, FALSE);
proto_tree_add_item(flags_tree, hf_udld_flags_rsy, tvb, offset, 1, FALSE);
offset += 1;