aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-06-25 19:50:57 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-06-25 17:58:31 +0000
commita8652ea529fe477cc19ff98c6402010908e481b8 (patch)
treef579a65e394163801f9f0b27181bb6266f4ccae1 /epan
parent4224e353f9ca3a3224ad2be3728905e729e74b9c (diff)
DLSw: ett2 proto_item variable is an input parameter for dissect_dlsw_capex()
Regression introduced in g888f22d Change-Id: I6ae451ef31b188540db4e4687c9fa492e8aa195e Reviewed-on: https://code.wireshark.org/review/2649 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dlsw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dlsw.c b/epan/dissectors/packet-dlsw.c
index 4abaaba38d..6ddc3e650e 100644
--- a/epan/dissectors/packet-dlsw.c
+++ b/epan/dissectors/packet-dlsw.c
@@ -375,7 +375,8 @@ dissect_dlsw_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
/* end of header dissector */
- dlsw_data_tree = proto_tree_add_subtree(dlsw_tree, tvb, hlen, mlen, ett_dlsw_data, NULL, "DLSw data");
+ ti2 = proto_tree_add_text (dlsw_tree, tvb, hlen, mlen,"DLSw data");
+ dlsw_data_tree = proto_item_add_subtree(ti2, ett_dlsw_data);
switch (mtype)
{