mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 09:35:06 -05:00
stubs: update NSR_AddSourceByName()
Fixes: 3763befd62 ("ntp: check name and return status from NSR_AddSourceByName()")
This commit is contained in:
3
stubs.c
3
stubs.c
@@ -195,9 +195,10 @@ NSR_AddSource(NTP_Remote_Address *remote_addr, NTP_Source_Type type, SourceParam
|
|||||||
return NSR_TooManySources;
|
return NSR_TooManySources;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
NSR_Status
|
||||||
NSR_AddSourceByName(char *name, int port, int pool, NTP_Source_Type type, SourceParameters *params)
|
NSR_AddSourceByName(char *name, int port, int pool, NTP_Source_Type type, SourceParameters *params)
|
||||||
{
|
{
|
||||||
|
return NSR_TooManySources;
|
||||||
}
|
}
|
||||||
|
|
||||||
NSR_Status
|
NSR_Status
|
||||||
|
|||||||
Reference in New Issue
Block a user