ntp: change NSR_RemoveSource() to accept IP address only

Change the function to accept IP address alone to make it clear that the
port is ignored.
This commit is contained in:
Miroslav Lichvar
2020-05-20 18:06:43 +02:00
parent fb4c3f31c0
commit 145423068b
5 changed files with 9 additions and 11 deletions

View File

@@ -76,7 +76,7 @@ extern void NSR_StartSources(void);
extern void NSR_AutoStartSources(void);
/* Procedure to remove a source */
extern NSR_Status NSR_RemoveSource(NTP_Remote_Address *remote_addr);
extern NSR_Status NSR_RemoveSource(IPAddr *address);
/* Procedure to remove all sources */
extern void NSR_RemoveAllSources(void);