Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
This commit is contained in:
@@ -206,7 +206,7 @@ whitelist_listener_t *whitelist_listener_create()
|
||||
.ids = hashtable_create((hashtable_hash_t)hash,
|
||||
(hashtable_equals_t)equals, 32),
|
||||
.enabled = lib->settings->get_bool(lib->settings,
|
||||
"charon.plugins.whitelist.enable", FALSE),
|
||||
"%s.plugins.whitelist.enable", FALSE, charon->name),
|
||||
);
|
||||
|
||||
return &this->public;
|
||||
|
||||
Reference in New Issue
Block a user