1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-01-19 18:00:11 +03:00

Fix: Kernel-mode NAT not available

This commit is contained in:
hiura2023
2026-01-05 23:28:10 +09:00
parent e884c4ef76
commit d85fc71a3a

View File

@ -2699,6 +2699,9 @@ NATIVE_STACK *NnGetNextInterface(NATIVE_NAT *t)
Format(ret->Ipc->ClientHostname, sizeof(ret->Ipc->ClientHostname), NN_HOSTNAME_FORMAT, tmp);
StrLower(ret->Ipc->ClientHostname);
// To pass the validity check of the source IP address performed by IPCSendIPv4()
UINTToIP(&ret->Ipc->ClientIPAddress, 0);
Debug("IPCDhcpAllocateIP for %s\n", ret->DeviceName);
if (IPCDhcpAllocateIP(ret->Ipc, &opt, t->HaltTube2))
{