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

Revert "Fix: Kernel-mode NAT not available"

This reverts commit d85fc71a3a.
This commit is contained in:
hiura2023
2026-01-08 12:15:12 +09:00
parent d85fc71a3a
commit a4681818c4

View File

@ -2699,9 +2699,6 @@ NATIVE_STACK *NnGetNextInterface(NATIVE_NAT *t)
Format(ret->Ipc->ClientHostname, sizeof(ret->Ipc->ClientHostname), NN_HOSTNAME_FORMAT, tmp); Format(ret->Ipc->ClientHostname, sizeof(ret->Ipc->ClientHostname), NN_HOSTNAME_FORMAT, tmp);
StrLower(ret->Ipc->ClientHostname); 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); Debug("IPCDhcpAllocateIP for %s\n", ret->DeviceName);
if (IPCDhcpAllocateIP(ret->Ipc, &opt, t->HaltTube2)) if (IPCDhcpAllocateIP(ret->Ipc, &opt, t->HaltTube2))
{ {