From 088d44a57235bce8ba662d81753b00a02c44a303 Mon Sep 17 00:00:00 2001 From: Tassilo Schweyer Date: Sun, 4 May 2025 23:52:00 +0200 Subject: [PATCH] Also copy auth_name --- l2tpns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/l2tpns.c b/l2tpns.c index b466546..23ff8ab 100644 --- a/l2tpns.c +++ b/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) {