ntp: pass server name to ntp_core instances

The server name will be needed for certificate verification in NTS-KE.
This commit is contained in:
Miroslav Lichvar
2019-03-13 17:32:40 +01:00
parent ca83d2a804
commit fa402a173a
4 changed files with 11 additions and 7 deletions

View File

@@ -504,7 +504,8 @@ take_offline(NCR_Instance inst)
/* ================================================== */
NCR_Instance
NCR_GetInstance(NTP_Remote_Address *remote_addr, NTP_Source_Type type, SourceParameters *params)
NCR_CreateInstance(NTP_Remote_Address *remote_addr, NTP_Source_Type type,
SourceParameters *params, const char *name)
{
NCR_Instance result;