diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-03-24 08:33:06 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-03-24 09:26:44 +0000 |
commit | 0b2eb9d242d9ea1b7aa69dee4a13ac8474fb8b60 (patch) | |
tree | 74e26d631e60d03c374790ebe81e79ae796a1b98 /epan/dissectors/packet-coap.c | |
parent | 2ff5931287799b88e93b6918b73b1ab245356145 (diff) |
coap: Put payload protocol in parent tree
Change-Id: I15cc9df174a42d284c55306cd43f9a86eebd93a2
Reviewed-on: https://code.wireshark.org/review/20694
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/dissectors/packet-coap.c')
-rw-r--r-- | epan/dissectors/packet-coap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c index a43367fa78..0b8756628e 100644 --- a/epan/dissectors/packet-coap.c +++ b/epan/dissectors/packet-coap.c @@ -1057,7 +1057,7 @@ dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d payload_tvb = tvb_new_subset_length(tvb, offset, payload_length); dissector_try_string(media_type_dissector_table, coap_ctype_str_dis, - payload_tvb, pinfo, payload_tree, NULL); + payload_tvb, pinfo, parent_tree, NULL); } return tvb_captured_length(tvb); |