mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 10:55:06 -05:00
ntp: fix comment about find_slot()
This commit is contained in:
@@ -244,8 +244,7 @@ find_slot(IPAddr *ip_addr, int *slot)
|
|||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* Find a slot matching an IP address and port. The function returns:
|
/* Find a slot matching an IP address and port. The function returns:
|
||||||
0 => Neither IP nor port matched, empty slot returned if a valid address
|
0 => IP not matched, empty slot returned if a valid address was provided
|
||||||
was provided
|
|
||||||
1 => Only IP matched, port doesn't match
|
1 => Only IP matched, port doesn't match
|
||||||
2 => Both IP and port matched. */
|
2 => Both IP and port matched. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user