aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-thread.c')
-rw-r--r--epan/dissectors/packet-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-thread.c b/epan/dissectors/packet-thread.c
index bbdf65ad66..e11a606bda 100644
--- a/epan/dissectors/packet-thread.c
+++ b/epan/dissectors/packet-thread.c
@@ -2109,7 +2109,7 @@ dissect_thread_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d
tokens = wmem_strsplit(wmem_packet_scope(), uri, "/", 3);
if ((tokens[0] != NULL) && (tokens[1] != NULL)) {
/* No need to create a subset as we are dissecting the tvb as it is */
- dissector_try_string(thread_coap_namespace, tokens[1], tvb, pinfo, tree, NULL);
+ dissector_try_string(thread_coap_namespace, tokens[0], tvb, pinfo, tree, NULL);
}
return tvb_captured_length(tvb);