auth-cfg: Don't enforce EAP_DYNAMIC

We now store the actual method on the auth config, which won't match
anymore if rightauth=eap-dynamic is configured.
This commit is contained in:
Tobias Brunner
2015-08-20 18:38:16 +02:00
parent 5fee79d854
commit e79b0e07e4
+2 -1
View File
@@ -661,7 +661,8 @@ METHOD(auth_cfg_t, complies, bool,
}
case AUTH_RULE_EAP_TYPE:
{
if ((uintptr_t)value != (uintptr_t)get(this, t1))
if ((uintptr_t)value != (uintptr_t)get(this, t1) &&
(uintptr_t)value != EAP_DYNAMIC)
{
success = FALSE;
if (log_error)