Also copy auth_name
This commit is contained in:
parent
60be20cf32
commit
088d44a572
1 changed files with 1 additions and 0 deletions
1
l2tpns.c
1
l2tpns.c
|
|
@ -5083,6 +5083,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu
|
|||
if (atype != 0) {
|
||||
sess_local[s].auth_type = atype;
|
||||
}
|
||||
strncpy(session[s].auth_name, authname, sizeof(session[s].auth_name) - 1);
|
||||
|
||||
if (!sess_local[s].lcp_authtype)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue