From b92294fc527b121a6708eafe7827b3921b472e71 Mon Sep 17 00:00:00 2001 From: hiura2023 Date: Thu, 8 Jan 2026 13:27:10 +0900 Subject: [PATCH] Fix: Kernel-mode NAT not available due to DHCP unfunctional --- src/Cedar/IPC.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Cedar/IPC.c b/src/Cedar/IPC.c index eeed8f7d..36e69fd8 100644 --- a/src/Cedar/IPC.c +++ b/src/Cedar/IPC.c @@ -567,6 +567,9 @@ IPC *NewIPCBySock(CEDAR *cedar, SOCK *s, void *mac_address) ipc->Sock = s; 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); ipc->Interrupt = NewInterruptManager();