aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index a910692fba..d492e6a3ab 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -2113,7 +2113,10 @@ add_content_type(proto_tree *tree, tvbuff_t *tvb, guint32 val_start,
speed optimization.
So we have to disable that one and become "slow" by pretending that
the tree is "visible".
- */
+
+ * This code must be present for the MMSE dissector which calls this function.
+ * Otherwise this causes a dissector_assert [bug 492] (proto_item_append_string() issue).
+ */
if (tree)
PTREE_DATA(tree)->visible=1;