From 035b4604ee32332ac71ca168ebf7afab4174cd6b Mon Sep 17 00:00:00 2001 From: Tassilo Schweyer Date: Sun, 4 May 2025 23:53:45 +0200 Subject: [PATCH] gnah.. take3 --- l2tpns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index 6393495..760afbe 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_local[s].auth_name, authname, sizeof(session_local[s].auth_name) - 1); + strncpy(sess_local[s].auth_name, authname, sizeof(sess_local[s].auth_name) - 1); if (!sess_local[s].lcp_authtype) {