mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-13 11:14:59 +03:00
Add parameter "ListenIP" to server configuration (vpn_server.config) (#202)
* Added parameter "ListenIP" to server configuration (vpn_server.config) * Fixed bug in VPN client
This commit is contained in:
@ -227,13 +227,13 @@ void SetSysLog(SLOG *g, char *hostname, UINT port)
|
||||
}
|
||||
|
||||
// Create a syslog client
|
||||
SLOG *NewSysLog(char *hostname, UINT port)
|
||||
SLOG *NewSysLog(char *hostname, UINT port, IP *ip)
|
||||
{
|
||||
// Validate arguments
|
||||
SLOG *g = ZeroMalloc(sizeof(SLOG));
|
||||
|
||||
g->lock = NewLock();
|
||||
g->Udp = NewUDP(0);
|
||||
g->Udp = NewUDPEx2(0, false, ip);
|
||||
|
||||
SetSysLog(g, hostname, port);
|
||||
|
||||
|
Reference in New Issue
Block a user