forked from osmocom/wireshark
json: Add for decode-as udp.port
Change-Id: Ibd03cd64aa8de7fee8ad3cc7b7cc61e0370399ff Reviewed-on: https://code.wireshark.org/review/25681 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
58d5baf3c0
commit
a56d9ba30e
|
@ -833,6 +833,8 @@ proto_reg_handoff_json(void)
|
|||
heur_dissector_add("db-lsp", dissect_json_heur, "JSON over DB-LSP", "json_db_lsp", proto_json, HEURISTIC_ENABLE);
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_JSON, json_file_handle);
|
||||
|
||||
dissector_add_for_decode_as("udp.port", json_file_handle);
|
||||
|
||||
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 */
|
||||
dissector_add_string("media_type", "application/jsonrequest", json_handle); /* JSON-RPC over HTTP */
|
||||
|
|
Loading…
Reference in New Issue