Added options and a lookup function that will allow filtering of network interfaces
This commit is contained in:
@@ -58,12 +58,13 @@ bool libhydra_init(const char *daemon)
|
||||
INIT(this,
|
||||
.public = {
|
||||
.attributes = attribute_manager_create(),
|
||||
.kernel_interface = kernel_interface_create(),
|
||||
.daemon = strdup(daemon ?: "libhydra"),
|
||||
},
|
||||
);
|
||||
hydra = &this->public;
|
||||
|
||||
this->public.kernel_interface = kernel_interface_create();
|
||||
|
||||
if (lib->integrity &&
|
||||
!lib->integrity->check(lib->integrity, "libhydra", libhydra_init))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user