Consistently log XFRM mark masks with 0 prefix in kernel-netlink plugin
[strongswan.git] / src / libhydra / hydra.c
index 2f34595..f180e36 100644 (file)
@@ -42,7 +42,7 @@ void libhydra_deinit()
 {
        private_hydra_t *this = (private_hydra_t*)hydra;
        this->public.attributes->destroy(this->public.attributes);
-       this->public.processor->destroy(this->public.processor);
+       this->public.kernel_interface->destroy(this->public.kernel_interface);
        free((void*)this->public.daemon);
        free(this);
        hydra = NULL;
@@ -58,7 +58,7 @@ bool libhydra_init(const char *daemon)
        INIT(this,
                .public = {
                        .attributes = attribute_manager_create(),
-                       .processor = processor_create(),
+                       .kernel_interface = kernel_interface_create(),
                        .daemon = strdup(daemon ?: "libhydra"),
                },
        );