From 0cb753882da32664160a516029ac68f47986ea68 Mon Sep 17 00:00:00 2001 From: sagar Date: Mon, 28 Jul 2025 17:01:56 +0000 Subject: [PATCH] correct ppp auth status being returned --- patches/simplify_l2tp_auth.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/simplify_l2tp_auth.patch b/patches/simplify_l2tp_auth.patch index a3efc68..fdf70e5 100644 --- a/patches/simplify_l2tp_auth.patch +++ b/patches/simplify_l2tp_auth.patch @@ -1,5 +1,5 @@ diff --git a/src/Cedar/Proto_PPP.c b/src/Cedar/Proto_PPP.c -index e9908e0..411a89e 100644 +index e9908e0..ed2c2e0 100644 --- a/src/Cedar/Proto_PPP.c +++ b/src/Cedar/Proto_PPP.c @@ -320,12 +320,12 @@ void PPPThread(THREAD *thread, void *param) @@ -19,6 +19,15 @@ index e9908e0..411a89e 100644 if (PPPSendAndRetransmitRequest(p, PPP_PROTOCOL_LCP, c) == false) { PPPSetStatus(p, PPP_STATUS_FAIL); +@@ -1873,7 +1873,7 @@ bool PPPProcessPAPRequestPacket(PPP_SESSION *p, PPP_PACKET *pp) + } + else + { +- PPPSetStatus(p, PPP_STATUS_FAIL); ++ PPPSetStatus(p, PPP_STATUS_AUTH_FAIL); + WHERE; + return false; + } diff --git a/src/Cedar/Proto_PPP.h b/src/Cedar/Proto_PPP.h index 1278fbc..d95d26d 100644 --- a/src/Cedar/Proto_PPP.h