Don't use union members directly in plugin_feature_t.
This commit is contained in:
committed by
Martin Willi
parent
ef80de6010
commit
c293c87761
@@ -30,7 +30,7 @@ bool eap_method_register(plugin_t *plugin, plugin_feature_t *feature,
|
||||
{
|
||||
if (reg)
|
||||
{
|
||||
charon->eap->add_method(charon->eap, feature->eap, 0,
|
||||
charon->eap->add_method(charon->eap, feature->arg.eap, 0,
|
||||
feature->type == FEATURE_EAP_SERVER ? EAP_SERVER : EAP_PEER,
|
||||
(eap_constructor_t)data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user