mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-01-19 18:00:11 +03:00
Merge pull request #2194 from hiura2023/master
Fix: Correct the wrong data type passed to the log output function
This commit is contained in:
@ -2815,6 +2815,7 @@ void NativeNatThread(THREAD *thread, void *param)
|
|||||||
if (a != NULL)
|
if (a != NULL)
|
||||||
{
|
{
|
||||||
char macstr[64];
|
char macstr[64];
|
||||||
|
IP dhcp_ip;
|
||||||
// Acquisition success
|
// Acquisition success
|
||||||
Debug("NnGetNextInterface Ok: %s\n", a->DeviceName);
|
Debug("NnGetNextInterface Ok: %s\n", a->DeviceName);
|
||||||
|
|
||||||
@ -2842,9 +2843,10 @@ void NativeNatThread(THREAD *thread, void *param)
|
|||||||
|
|
||||||
Debug("NnMainLoop Start.\n");
|
Debug("NnMainLoop Start.\n");
|
||||||
MacToStr(macstr, sizeof(macstr), a->Ipc->MacAddress);
|
MacToStr(macstr, sizeof(macstr), a->Ipc->MacAddress);
|
||||||
|
UINTToIP(&dhcp_ip, a->CurrentDhcpOptionList.ServerAddress);
|
||||||
NLog(t->v, "LH_KERNEL_MODE_START", a->DeviceName,
|
NLog(t->v, "LH_KERNEL_MODE_START", a->DeviceName,
|
||||||
&a->Ipc->ClientIPAddress, &a->Ipc->SubnetMask, &a->Ipc->DefaultGateway, &a->Ipc->BroadcastAddress,
|
&a->Ipc->ClientIPAddress, &a->Ipc->SubnetMask, &a->Ipc->DefaultGateway, &a->Ipc->BroadcastAddress,
|
||||||
macstr, &a->CurrentDhcpOptionList.ServerAddress, &a->DnsServerIP);
|
macstr, &dhcp_ip, &a->DnsServerIP);
|
||||||
NnMainLoop(t, a);
|
NnMainLoop(t, a);
|
||||||
Debug("NnMainLoop End.\n");
|
Debug("NnMainLoop End.\n");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user