From a11374b80ab24429c0a6c73b471adf417b7ff832 Mon Sep 17 00:00:00 2001 From: Tassilo Schweyer Date: Sun, 4 May 2025 23:53:04 +0200 Subject: [PATCH] Derp.. wrong struct --- l2tpns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index 23ff8ab..6393495 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -5083,7 +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); + strncpy(session_local[s].auth_name, authname, sizeof(session_local[s].auth_name) - 1); if (!sess_local[s].lcp_authtype) {