l2tp: Add PAP auth information in ICCN
To support proxy auth.
This commit is contained in:
parent
e701644d37
commit
40796d2adb
4 changed files with 37 additions and 0 deletions
6
radius.c
6
radius.c
|
|
@ -1046,6 +1046,12 @@ void processrad(uint8_t *buf, int len, char socket_index)
|
|||
|
||||
LOG(3, s, session[s].tunnel, "Select Tunnel Remote LNS for assignment_id == %s\n", assignment_id);
|
||||
|
||||
if (!radius[r].chap)
|
||||
{
|
||||
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))
|
||||
{
|
||||
int ro;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue