mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-21 21:30:19 -05:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user