Fix initialization of NM plugin

This commit is contained in:
Martin Willi 2011-05-31 18:12:56 +02:00
parent 7e432eff6b
commit c140757221

View File

@ -118,8 +118,8 @@ plugin_t *nm_plugin_create()
},
.creds = nm_creds_create(),
.handler = nm_handler_create(),
.plugin = nm_strongswan_plugin_new(this->creds, this->handler),
);
this->plugin = nm_strongswan_plugin_new(this->creds, this->handler);
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
lib->credmgr->add_set(lib->credmgr, &this->creds->set);