diff --git a/src/libcharon/tnc/tnccs/tnccs_manager.c b/src/libcharon/tnc/tnccs/tnccs_manager.c index 5df214f52..84d4509fd 100644 --- a/src/libcharon/tnc/tnccs/tnccs_manager.c +++ b/src/libcharon/tnc/tnccs/tnccs_manager.c @@ -158,13 +158,15 @@ METHOD(tnccs_manager_t, create_instance, tnccs_t*, METHOD(tnccs_manager_t, create_connection, TNC_ConnectionID, private_tnccs_manager_t *this, tnccs_t *tnccs, - tnccs_send_message_t send_message) + tnccs_send_message_t send_message, + tnccs_provide_recommendation_t provide_recommendation) { tnccs_connection_entry_t *entry = malloc_thing(tnccs_connection_entry_t); entry->id = ++this->connection_id; entry->tnccs = tnccs; entry->send_message = send_message; + entry->provide_recommendation = provide_recommendation; this->lock->write_lock(this->lock); this->connections->insert_last(this->connections, entry);