correct ppp auth status being returned
This commit is contained in:
parent
c6655312f7
commit
0cb753882d
1 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/src/Cedar/Proto_PPP.c b/src/Cedar/Proto_PPP.c
|
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
|
--- a/src/Cedar/Proto_PPP.c
|
||||||
+++ b/src/Cedar/Proto_PPP.c
|
+++ b/src/Cedar/Proto_PPP.c
|
||||||
@@ -320,12 +320,12 @@ void PPPThread(THREAD *thread, void *param)
|
@@ -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)
|
if (PPPSendAndRetransmitRequest(p, PPP_PROTOCOL_LCP, c) == false)
|
||||||
{
|
{
|
||||||
PPPSetStatus(p, PPP_STATUS_FAIL);
|
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
|
diff --git a/src/Cedar/Proto_PPP.h b/src/Cedar/Proto_PPP.h
|
||||||
index 1278fbc..d95d26d 100644
|
index 1278fbc..d95d26d 100644
|
||||||
--- a/src/Cedar/Proto_PPP.h
|
--- a/src/Cedar/Proto_PPP.h
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue