Properly initialize the UCI plugin.

This commit is contained in:
Tobias Brunner
2011-08-01 13:06:09 +02:00
parent aeb6590bda
commit acf380bc05
+2 -2
View File
@@ -92,10 +92,10 @@ plugin_t *uci_plugin_create()
},
},
.parser = uci_parser_create(UCI_PACKAGE),
.config = uci_config_create(this->parser),
.creds = uci_creds_create(this->parser),
.control = uci_control_create(),
);
this->config = uci_config_create(this->parser);
this->creds = uci_creds_create(this->parser);
charon->backends->add_backend(charon->backends, &this->config->backend);
lib->credmgr->add_set(lib->credmgr, &this->creds->credential_set);