mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-01-19 18:00:11 +03:00
Merge pull request #2192 from hiura2023/master
Fix: Kernel-mode NAT not available
This commit is contained in:
@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user