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:
@@ -52,6 +52,7 @@ METHOD(plugin_t, get_features, int,
|
|||||||
static plugin_feature_t f[] = {
|
static plugin_feature_t f[] = {
|
||||||
PLUGIN_CALLBACK(socket_register, socket_default_socket_create),
|
PLUGIN_CALLBACK(socket_register, socket_default_socket_create),
|
||||||
PLUGIN_PROVIDE(CUSTOM, "socket"),
|
PLUGIN_PROVIDE(CUSTOM, "socket"),
|
||||||
|
PLUGIN_SDEPEND(CUSTOM, "kernel-ipsec"),
|
||||||
};
|
};
|
||||||
*features = f;
|
*features = f;
|
||||||
return countof(f);
|
return countof(f);
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ METHOD(plugin_t, get_features, int,
|
|||||||
static plugin_feature_t f[] = {
|
static plugin_feature_t f[] = {
|
||||||
PLUGIN_CALLBACK(socket_register, socket_dynamic_socket_create),
|
PLUGIN_CALLBACK(socket_register, socket_dynamic_socket_create),
|
||||||
PLUGIN_PROVIDE(CUSTOM, "socket"),
|
PLUGIN_PROVIDE(CUSTOM, "socket"),
|
||||||
|
PLUGIN_SDEPEND(CUSTOM, "kernel-ipsec"),
|
||||||
};
|
};
|
||||||
*features = f;
|
*features = f;
|
||||||
return countof(f);
|
return countof(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user