aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-06-25 20:15:32 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-06-25 18:53:56 +0000
commitfd5b0777bb18bebcc549b7575c54473dd6473366 (patch)
tree17008e5223ce137030cfd96e51467df5a4fdf9c2 /epan
parente0461ecd4384377042fe3787acddfcc4d1ed7587 (diff)
DLSw: better fix, as suggested by Evan
Change-Id: I82556c40cc4f0618e9e1c927beafa19ea4659683 Reviewed-on: https://code.wireshark.org/review/2650 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dlsw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dlsw.c b/epan/dissectors/packet-dlsw.c
index 6ddc3e650e..5e2f1f9288 100644
--- a/epan/dissectors/packet-dlsw.c
+++ b/epan/dissectors/packet-dlsw.c
@@ -375,8 +375,7 @@ dissect_dlsw_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
/* end of header dissector */
- ti2 = proto_tree_add_text (dlsw_tree, tvb, hlen, mlen,"DLSw data");
- dlsw_data_tree = proto_item_add_subtree(ti2, ett_dlsw_data);
+ dlsw_data_tree = proto_tree_add_subtree(dlsw_tree, tvb, hlen, mlen, ett_dlsw_data, &ti2, "DLSw data");
switch (mtype)
{