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:
Miroslav Lichvar
2009-10-13 17:16:41 +02:00
parent 1570f97ee2
commit 48b6c2aa6b
3 changed files with 29 additions and 21 deletions

View File

@@ -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;
}
/* ================================================== */