aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udld.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-09 14:08:27 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-09 14:08:27 +0000
commita25ea02717d2f796dc14bb0c5c5716e5a7a441ae (patch)
treed6cb817e24cb14cdaf1363710f4b5dd58d0a3f80 /epan/dissectors/packet-udld.c
parent64c5b724e3b368edfe45386f6393d2ea8639748d (diff)
Put flags subtree under correct element.
svn path=/trunk/; revision=30879
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;