aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iec104.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-06-29 09:13:51 -0400
committerMichael Mann <mmann78@netscape.net>2014-06-29 14:52:33 +0000
commite8a8d62dc33099ee2e0d9d405b48e74097f7688d (patch)
tree0d79d9841b29f735cdf0005da3a6c747591586ea /epan/dissectors/packet-iec104.c
parentfe4b7ee625c046bc09a7d8ae55afb0e16cb17fc3 (diff)
proto_tree_add_subtree[_format]
Change-Id: I7e016f10fcfdc0523bf2fe8c11295c0334f7c332 Reviewed-on: https://code.wireshark.org/review/2694 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-iec104.c')
-rw-r--r--epan/dissectors/packet-iec104.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-iec104.c b/epan/dissectors/packet-iec104.c
index 9afac8d5d2..0791547f5b 100644
--- a/epan/dissectors/packet-iec104.c
+++ b/epan/dissectors/packet-iec104.c
@@ -1185,8 +1185,8 @@ static void dissect_iec104asdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
for(i = 0; i < asduh.NumIx; i++)
{
/* create subtree for the signal values ... */
- itSignal = proto_tree_add_text(it104tree, tvb, offset, asduh.DataLength + 3, "IOA:s");
- trSignal = proto_item_add_subtree(itSignal, ett_asdu_objects);
+ trSignal = proto_tree_add_subtree(it104tree, tvb, offset, asduh.DataLength + 3,
+ ett_asdu_objects, &itSignal, "IOA:s");
/* -------- First Information object address */
if (!i)