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>
This commit is contained in:
Stig Bjørlykke 2017-11-14 19:05:57 +01:00
parent b0b5bda7cb
commit f2ee064bbb
1 changed files with 1 additions and 0 deletions

View File

@ -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);