mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-20 10:19:20 +03:00
Cedar/IPC.c: Add hub release in NewIPC()
This commit is contained in:
@ -497,6 +497,8 @@ IPC *NewIPC(CEDAR *cedar, char *client_name, char *postfix, char *hubname, char
|
|||||||
ZeroIP4(&ipc->BroadcastAddress);
|
ZeroIP4(&ipc->BroadcastAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ReleaseHub(hub);
|
||||||
|
|
||||||
ZeroIP4(&ipc->ClientIPAddress);
|
ZeroIP4(&ipc->ClientIPAddress);
|
||||||
|
|
||||||
MacToStr(macstr, sizeof(macstr), ipc->MacAddress);
|
MacToStr(macstr, sizeof(macstr), ipc->MacAddress);
|
||||||
|
Reference in New Issue
Block a user