libimcv: Move settings to <ns>.imcv and <ns>.plugins with fallback

This commit is contained in:
Tobias Brunner
2014-02-12 14:34:34 +01:00
parent 4576f7f960
commit 1ec3476398
10 changed files with 32 additions and 22 deletions
+2 -2
View File
@@ -560,9 +560,9 @@ os_info_t *os_info_create(void)
/* As an option OS name and OS version can be configured manually */
name.ptr = lib->settings->get_str(lib->settings,
"libimcv.os_info.name", NULL);
"%s.imcv.os_info.name", NULL, lib->ns);
version.ptr = lib->settings->get_str(lib->settings,
"libimcv.os_info.version", NULL);
"%s.imcv.os_info.version", NULL, lib->ns);
if (name.ptr && version.ptr)
{
name.len = strlen(name.ptr);