aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-json.c')
-rw-r--r--epan/dissectors/packet-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-json.c b/epan/dissectors/packet-json.c
index d6d5cee690..2e37f8fd24 100644
--- a/epan/dissectors/packet-json.c
+++ b/epan/dissectors/packet-json.c
@@ -655,7 +655,7 @@ proto_reg_handoff_json(void)
dissector_add_string("media_type", "application/jsonrequest", json_handle); /* JSON-RPC over HTTP */
dissector_add_string("media_type", "application/dds-web+json", json_handle); /* DDS Web Integration Service over HTTP */
- text_lines_handle = find_dissector("data-text-lines");
+ text_lines_handle = find_dissector_add_dependency("data-text-lines", proto_json);
}
/*