correct ppp auth status being returned

This commit is contained in:
sagar 2025-07-28 17:01:56 +00:00
parent c6655312f7
commit 0cb753882d

View file

@ -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