Derp.. wrong struct

This commit is contained in:
Tassilo Schweyer 2025-05-04 23:53:04 +02:00
parent 088d44a572
commit a11374b80a

View file

@ -5083,7 +5083,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu
if (atype != 0) { if (atype != 0) {
sess_local[s].auth_type = atype; sess_local[s].auth_type = atype;
} }
strncpy(session[s].auth_name, authname, sizeof(session[s].auth_name) - 1); strncpy(session_local[s].auth_name, authname, sizeof(session_local[s].auth_name) - 1);
if (!sess_local[s].lcp_authtype) if (!sess_local[s].lcp_authtype)
{ {