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:
@@ -661,7 +661,8 @@ METHOD(auth_cfg_t, complies, bool,
|
|||||||
}
|
}
|
||||||
case AUTH_RULE_EAP_TYPE:
|
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;
|
success = FALSE;
|
||||||
if (log_error)
|
if (log_error)
|
||||||
|
|||||||
Reference in New Issue
Block a user