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:
1 parent
5fee79d854
commit
e79b0e07e4
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user