setting ike_sa on bus in checkout_new
authorMartin Willi <martin@strongswan.org>
Fri, 11 Jul 2008 08:47:18 +0000 (08:47 -0000)
committerMartin Willi <martin@strongswan.org>
Fri, 11 Jul 2008 08:47:18 +0000 (08:47 -0000)
src/charon/sa/ike_sa_manager.c

index d9983d8..8b53b84 100644 (file)
@@ -365,6 +365,7 @@ static ike_sa_t *checkout_new(private_ike_sa_manager_t* this, bool initiator)
        pthread_mutex_unlock(&this->mutex);     
        DBG2(DBG_MGR, "created IKE_SA, %d IKE_SAs in manager",
                 this->ike_sa_list->get_count(this->ike_sa_list));
+       charon->bus->set_sa(charon->bus, entry->ike_sa);
        return entry->ike_sa;
 }