fixed cert_validator_t:validate interface
[strongswan.git] / src / libcharon / plugins / addrblock / addrblock_plugin.c
index 1c40703..5fdb36c 100644 (file)
@@ -61,7 +61,11 @@ plugin_t *addrblock_plugin_create()
        private_addrblock_plugin_t *this;
 
        INIT(this,
-               .public.plugin.destroy = _destroy,
+               .public = {
+                       .plugin = {
+                               .destroy = _destroy,
+                       },
+               },
                .validator = addrblock_validator_create(),
                .narrower = addrblock_narrow_create(),
        );