mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Fix initialization of NM plugin
This commit is contained in:
parent
7e432eff6b
commit
c140757221
@ -118,8 +118,8 @@ plugin_t *nm_plugin_create()
|
|||||||
},
|
},
|
||||||
.creds = nm_creds_create(),
|
.creds = nm_creds_create(),
|
||||||
.handler = nm_handler_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);
|
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
|
||||||
lib->credmgr->add_set(lib->credmgr, &this->creds->set);
|
lib->credmgr->add_set(lib->credmgr, &this->creds->set);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user