aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/ha/ha_attribute.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-04-24 14:10:06 +0200
committerTobias Brunner <tobias@strongswan.org>2012-05-03 13:57:04 +0200
commit42500c274a0858ee27fc5d54b02b90809f2ecd87 (patch)
treeb9e95d636311a08fc4639e73a4d12ab7273afc91 /src/libcharon/plugins/ha/ha_attribute.c
parent18758e3d2ea173b798a827917e4f8a1f9c4bc9a2 (diff)
downloadstrongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.bz2
strongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.xz
Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
Diffstat (limited to 'src/libcharon/plugins/ha/ha_attribute.c')
-rw-r--r--src/libcharon/plugins/ha/ha_attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/ha/ha_attribute.c b/src/libcharon/plugins/ha/ha_attribute.c
index b08abe1a9..64bd2b8b7 100644
--- a/src/libcharon/plugins/ha/ha_attribute.c
+++ b/src/libcharon/plugins/ha/ha_attribute.c
@@ -281,7 +281,7 @@ static void load_pools(private_ha_attribute_t *this)
pool_t *pool;
enumerator = lib->settings->create_key_value_enumerator(lib->settings,
- "charon.plugins.ha.pools");
+ "%s.plugins.ha.pools", charon->name);
while (enumerator->enumerate(enumerator, &name, &net))
{
net = strdup(net);