aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-coap.c2
-rw-r--r--epan/dissectors/packet-json.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c
index 497d0420b2..a8f8654132 100644
--- a/epan/dissectors/packet-coap.c
+++ b/epan/dissectors/packet-coap.c
@@ -253,7 +253,9 @@ static const value_string vals_ctype[] = {
{ 50, "application/json" },
{ 60, "application/cbor" },
{ 1542, "application/vnd.oma.lwm2m+tlv" },
+ { 1543, "application/vnd.oma.lwm2m+json" },
{ 11542, "application/vnd.oma.lwm2m+tlv" },
+ { 11543, "application/vnd.oma.lwm2m+json" },
{ 0, NULL },
};
diff --git a/epan/dissectors/packet-json.c b/epan/dissectors/packet-json.c
index 538d845563..de0801fc5f 100644
--- a/epan/dissectors/packet-json.c
+++ b/epan/dissectors/packet-json.c
@@ -663,6 +663,7 @@ proto_reg_handoff_json(void)
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 */
dissector_add_string("media_type", "application/dds-web+json", json_handle); /* DDS Web Integration Service over HTTP */
+ dissector_add_string("media_type", "application/vnd.oma.lwm2m+json", json_handle); /* LWM2M JSON over CoAP */
dissector_add_string("grpc_message_type", "application/grpc+json", json_handle);
text_lines_handle = find_dissector_add_dependency("data-text-lines", proto_json);