mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 12:45:07 -05:00
Reduce size of NTP sources hash table
IPv6 addressing significantly increased size of the table, keep only pointers to get it back.
This commit is contained in:
@@ -1912,3 +1912,11 @@ NCR_IncrementActivityCounters(NCR_Instance inst, int *online, int *offline,
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
NTP_Remote_Address *
|
||||
NCR_GetRemoteAddress(NCR_Instance inst)
|
||||
{
|
||||
return &inst->remote_addr;
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user