diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-01-22 14:35:41 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-02-12 14:34:32 +0100 |
commit | d347a130f55d75b726d470aa588fb1a3d9d698f2 (patch) | |
tree | 7edf459261fca682ca7606cf5d6bb3ca96802295 /src/libhydra/plugins/attr/attr_provider.c | |
parent | 409adef43cf387deb1cd00bd56dec3cdd7221181 (diff) | |
download | strongswan-d347a130f55d75b726d470aa588fb1a3d9d698f2.tar.bz2 strongswan-d347a130f55d75b726d470aa588fb1a3d9d698f2.tar.xz |
libhydra: Use lib->ns instead of hydra->daemon
Diffstat (limited to 'src/libhydra/plugins/attr/attr_provider.c')
-rw-r--r-- | src/libhydra/plugins/attr/attr_provider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhydra/plugins/attr/attr_provider.c b/src/libhydra/plugins/attr/attr_provider.c index 1a2fa7f28..629d2cabe 100644 --- a/src/libhydra/plugins/attr/attr_provider.c +++ b/src/libhydra/plugins/attr/attr_provider.c @@ -109,7 +109,7 @@ static void add_legacy_entry(private_attr_provider_t *this, char *key, int nr, host_t *host; char *str; - str = lib->settings->get_str(lib->settings, "%s.%s%d", NULL, hydra->daemon, + str = lib->settings->get_str(lib->settings, "%s.%s%d", NULL, lib->ns, key, nr); if (str) { @@ -179,7 +179,7 @@ static void load_entries(private_attr_provider_t *this) } enumerator = lib->settings->create_key_value_enumerator(lib->settings, - "%s.plugins.attr", hydra->daemon); + "%s.plugins.attr", lib->ns); while (enumerator->enumerate(enumerator, &key, &value)) { configuration_attribute_type_t type; |