aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-11-14 19:05:57 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2017-11-14 18:07:19 +0000
commitf2ee064bbbdc6f00466d0705401fbdaeaa965702 (patch)
tree94dc13767d0a1e3e0804682a6c35ee08ce6db120
parentb0b5bda7cb97ccf3ae5e0052b8d5c05b69f23f9f (diff)
mqtt: Copy UAT match_criteria value
Change-Id: Ifdb743bcf1f644d412d1ac35801347b5355d1754 Reviewed-on: https://code.wireshark.org/review/24410 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
-rw-r--r--epan/dissectors/packet-mqtt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mqtt.c b/epan/dissectors/packet-mqtt.c
index d9a8f11b31..fee3bf962e 100644
--- a/epan/dissectors/packet-mqtt.c
+++ b/epan/dissectors/packet-mqtt.c
@@ -387,6 +387,7 @@ static void *mqtt_message_decode_copy_cb(void *dest, const void *orig, size_t le
const mqtt_message_decode_t *o = (const mqtt_message_decode_t *)orig;
mqtt_message_decode_t *d = (mqtt_message_decode_t *)dest;
+ d->match_criteria = o->match_criteria;
d->topic_pattern = g_strdup(o->topic_pattern);
d->payload_proto_name = g_strdup(o->payload_proto_name);