ntp: fix comment about find_slot()

This commit is contained in:
Miroslav Lichvar 2020-06-29 16:46:05 +02:00
parent ad69f4f32b
commit 3fc72c0cfa

View file

@ -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. */