Socket plugins soft depend on the kernel-ipsec plugin feature
[strongswan.git] / src / libcharon / plugins / socket_dynamic / socket_dynamic_plugin.c
index c21d524..fdc9a7c 100644 (file)
@@ -40,6 +40,7 @@ METHOD(plugin_t, get_features, int,
        static plugin_feature_t f[] = {
                PLUGIN_CALLBACK(socket_register, socket_dynamic_socket_create),
                        PLUGIN_PROVIDE(CUSTOM, "socket"),
+                               PLUGIN_SDEPEND(CUSTOM, "kernel-ipsec"),
        };
        *features = f;
        return countof(f);