aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/sql_attribute.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-01-28 16:58:34 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:34:32 +0100
commiteb9b375aa1b65b0af3ceeae9a0bafc39f4329452 (patch)
treee68d5e338d138dacd95867c1a815ef27f7eca2e1 /src/libhydra/plugins/attr_sql/sql_attribute.c
parent8dc6e716325135bd6263158d507c1403bbb48261 (diff)
downloadstrongswan-eb9b375aa1b65b0af3ceeae9a0bafc39f4329452.tar.bz2
strongswan-eb9b375aa1b65b0af3ceeae9a0bafc39f4329452.tar.xz
attr-sql: Use namespace for attr-sql config, with fallback
Diffstat (limited to 'src/libhydra/plugins/attr_sql/sql_attribute.c')
-rw-r--r--src/libhydra/plugins/attr_sql/sql_attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhydra/plugins/attr_sql/sql_attribute.c b/src/libhydra/plugins/attr_sql/sql_attribute.c
index 0a06c419f..d527c3fba 100644
--- a/src/libhydra/plugins/attr_sql/sql_attribute.c
+++ b/src/libhydra/plugins/attr_sql/sql_attribute.c
@@ -457,7 +457,7 @@ sql_attribute_t *sql_attribute_create(database_t *db)
},
.db = db,
.history = lib->settings->get_bool(lib->settings,
- "libhydra.plugins.attr-sql.lease_history", TRUE),
+ "%s.plugins.attr-sql.lease_history", TRUE, lib->ns),
);
/* close any "online" leases in the case we crashed */