conf: improve log message for failed additions in sources reload

Describe the error status in the log message when adding a source from
sourcedir failed.
This commit is contained in:
Miroslav Lichvar
2023-09-11 16:14:53 +02:00
parent 37deee7140
commit aa8196328c
5 changed files with 37 additions and 1 deletions

View File

@@ -207,6 +207,12 @@ NSR_AddSourceByName(char *name, int port, int pool, NTP_Source_Type type,
return NSR_TooManySources;
}
const char *
NSR_StatusToString(NSR_Status status)
{
return "NTP not supported";
}
NSR_Status
NSR_RemoveSource(IPAddr *address)
{