kernel-wfp: Depend on used RNG plugin features
This commit is contained in:
@@ -43,6 +43,8 @@ METHOD(plugin_t, get_features, int,
|
|||||||
static plugin_feature_t f[] = {
|
static plugin_feature_t f[] = {
|
||||||
PLUGIN_CALLBACK(kernel_ipsec_register, kernel_wfp_ipsec_create),
|
PLUGIN_CALLBACK(kernel_ipsec_register, kernel_wfp_ipsec_create),
|
||||||
PLUGIN_PROVIDE(CUSTOM, "kernel-ipsec"),
|
PLUGIN_PROVIDE(CUSTOM, "kernel-ipsec"),
|
||||||
|
PLUGIN_DEPENDS(RNG, RNG_WEAK),
|
||||||
|
PLUGIN_DEPENDS(RNG, RNG_STRONG),
|
||||||
};
|
};
|
||||||
*features = f;
|
*features = f;
|
||||||
return countof(f);
|
return countof(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user