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 due to DHCP unfunctional

This commit is contained in:
hiura2023
2026-01-08 13:27:10 +09:00
parent a4681818c4
commit b92294fc52

View File

@ -567,6 +567,9 @@ IPC *NewIPCBySock(CEDAR *cedar, SOCK *s, void *mac_address)
ipc->Sock = s; ipc->Sock = s;
AddRef(s->ref); AddRef(s->ref);
// Initialize to pass the validity check on the source IP address performed by IPCSendIPv4()
ZeroIP4(&ipc->ClientIPAddress);
Copy(ipc->MacAddress, mac_address, 6); Copy(ipc->MacAddress, mac_address, 6);
ipc->Interrupt = NewInterruptManager(); ipc->Interrupt = NewInterruptManager();