From fb004345b4b1fcf332cb4a54dcc53906e6cb820a Mon Sep 17 00:00:00 2001 From: Yihong Wu <54519668+domosekai@users.noreply.github.com> Date: Tue, 23 Nov 2021 19:48:46 +0800 Subject: [PATCH] Cedar/Proto_PPP: Fix IPC DHCP renewal --- src/Cedar/Proto_PPP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/Proto_PPP.c b/src/Cedar/Proto_PPP.c index 7d274471..86b418f8 100644 --- a/src/Cedar/Proto_PPP.c +++ b/src/Cedar/Proto_PPP.c @@ -31,7 +31,6 @@ void PPPThread(THREAD *thread, void *param) bool ret = false; char ipstr1[128], ipstr2[128]; bool authReqSent = false; - UINT64 now = Tick64(); // Validate arguments if (thread == NULL || param == NULL) @@ -77,6 +76,7 @@ void PPPThread(THREAD *thread, void *param) bool receivedPacketProcessed = false; TUBE *tubes[2]; UINT r; + UINT64 now = Tick64(); PPPGetNextPacket(p);