1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Merge PR #1506: Cedar/Proto_PPP: Fix IPC DHCP renewal

This commit is contained in:
Davide Beatrici 2021-11-24 00:20:37 +01:00 committed by GitHub
commit 235d5d1d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,6 @@ void PPPThread(THREAD *thread, void *param)
bool ret = false; bool ret = false;
char ipstr1[128], ipstr2[128]; char ipstr1[128], ipstr2[128];
bool authReqSent = false; bool authReqSent = false;
UINT64 now = Tick64();
// Validate arguments // Validate arguments
if (thread == NULL || param == NULL) if (thread == NULL || param == NULL)
@ -77,6 +76,7 @@ void PPPThread(THREAD *thread, void *param)
bool receivedPacketProcessed = false; bool receivedPacketProcessed = false;
TUBE *tubes[2]; TUBE *tubes[2];
UINT r; UINT r;
UINT64 now = Tick64();
PPPGetNextPacket(p); PPPGetNextPacket(p);