Permanently store authentication id in sess_local[s].auth_id
rather than ping-ponging with radius[r].id This also make sendchap use a different id on each call, necessary for some clients which cache responses.
This commit is contained in:
parent
c4147ed3cc
commit
2af4b47f46
2 changed files with 2 additions and 3 deletions
1
radius.c
1
radius.c
|
|
@ -1054,7 +1054,6 @@ void processrad(uint8_t *buf, int len, char socket_index)
|
|||
{
|
||||
sess_local[s].auth_type = 3; // PAP
|
||||
}
|
||||
sess_local[s].auth_id = radius[r].id;
|
||||
|
||||
if (lac_rad_forwardtoremotelns(s, assignment_id, session[s].user))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue