aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-json.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-01-27 14:34:35 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-01-27 20:32:21 +0000
commit99764223d2e7aa661036efd78501753d5e9af51c (patch)
tree3fa32b62963a9310c62ab3ed07842063d9c825fe /epan/dissectors/packet-json.c
parentd3261b2dda74a717e645cbd308bb6b31a1c9c45e (diff)
Added json heuristic to Dropbox LAN sync Discovery Protocol.
Change-Id: I0d649ddc0f1539616eca0322ba54a7735338c738 Reviewed-on: https://code.wireshark.org/review/6817 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-json.c')
-rw-r--r--epan/dissectors/packet-json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-json.c b/epan/dissectors/packet-json.c
index 64cc5ed9ca..745ef7076f 100644
--- a/epan/dissectors/packet-json.c
+++ b/epan/dissectors/packet-json.c
@@ -627,6 +627,7 @@ void
proto_reg_handoff_json(void)
{
heur_dissector_add("hpfeeds", dissect_json_heur, proto_json);
+ heur_dissector_add("db-lsp", dissect_json_heur, proto_json);
dissector_add_string("media_type", "application/json", json_handle); /* RFC 4627 */
dissector_add_string("media_type", "application/json-rpc", json_handle); /* JSON-RPC over HTTP */