libhydra: Use lib->ns instead of hydra->daemon

This commit is contained in:
Tobias Brunner
2014-02-12 14:34:32 +01:00
parent 409adef43c
commit d347a130f5
10 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -796,12 +796,12 @@ kernel_interface_t *kernel_interface_create()
);
ifaces = lib->settings->get_str(lib->settings,
"%s.interfaces_use", NULL, hydra->daemon);
"%s.interfaces_use", NULL, lib->ns);
if (!ifaces)
{
this->ifaces_exclude = TRUE;
ifaces = lib->settings->get_str(lib->settings,
"%s.interfaces_ignore", NULL, hydra->daemon);
"%s.interfaces_ignore", NULL, lib->ns);
}
if (ifaces)
{