mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 22:15:07 -05:00
ntp: use separate connected sockets for each server
If acquisitionport is set to 0 (default), create and connect a new socket for each server instead of using one socket per address family for all servers.
This commit is contained in:
@@ -385,6 +385,8 @@ NCR_DestroyInstance(NCR_Instance instance)
|
||||
instance->timer_running = 0;
|
||||
}
|
||||
|
||||
NIO_CloseClientSocket(instance->local_addr.sock_fd);
|
||||
|
||||
/* Free the data structure */
|
||||
Free(instance);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user