aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mqtt.c
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2021-04-10 19:15:34 +0100
committerGraham Bloice <graham.bloice@trihedral.com>2021-05-14 12:11:03 +0100
commitf6ad4812a2d8ee56b90fb204f00d54af27855992 (patch)
tree0173a6d55d84d6e2f0f18b027d7da8c235150c6c /epan/dissectors/packet-mqtt.c
parent2c62e2eb3ff1c700ccd79e6853f50aeac9832d8c (diff)
Add SparkplugB dissector
Add a dissector for SparkplugB as a heuristic subdissector of MQTT and which calls protobuf to dissect the messages payload.
Diffstat (limited to 'epan/dissectors/packet-mqtt.c')
-rw-r--r--epan/dissectors/packet-mqtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mqtt.c b/epan/dissectors/packet-mqtt.c
index c8503e3780..79fbbc5e39 100644
--- a/epan/dissectors/packet-mqtt.c
+++ b/epan/dissectors/packet-mqtt.c
@@ -752,7 +752,7 @@ static gboolean mqtt_user_decode_message(proto_tree *tree, proto_tree *mqtt_tree
message_decode_entry->payload_proto_name);
proto_item_set_generated(ti);
- call_dissector(message_decode_entry->payload_proto, msg_tvb, pinfo, tree);
+ call_dissector_with_data(message_decode_entry->payload_proto, msg_tvb, pinfo, tree, (void*)topic_str);
}
}