/* A callback function to changed a dissector_handle if matched This is used when iterating a dissector table  */
static void change_dissector_if_matched(gpointer item, gpointer user_data)
/* A callback function to changed a dissector_handle if matched This is used when iterating a dissector table  */
static void change_dissector_if_matched(gpointer item, gpointer user_data)
{
    dissector_handle_t handle = (dissector_handle_t)item;
    lookup_entry_t * lookup = (lookup_entry_t *)user_data;
    const gchar *proto_short_name = dissector_handle_get_short_name(handle);
    if (proto_short_name && strcmp(lookup->dissector_short_name, proto_short_name) == 0) {
        lookup->handle = handle;
    }
}