Socket plugins soft depend on the kernel-ipsec plugin feature

On most platforms calls to methods to bypass the IKE sockets and enabling
UDP decapsulation are required.
This commit is contained in:
Tobias Brunner
2013-06-11 11:18:17 +02:00
parent c50da645b8
commit 270e425b24
2 changed files with 2 additions and 0 deletions
@@ -52,6 +52,7 @@ METHOD(plugin_t, get_features, int,
static plugin_feature_t f[] = {
PLUGIN_CALLBACK(socket_register, socket_default_socket_create),
PLUGIN_PROVIDE(CUSTOM, "socket"),
PLUGIN_SDEPEND(CUSTOM, "kernel-ipsec"),
};
*features = f;
return countof(f);