]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
ntp: fix comment about find_slot()
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 29 Jun 2020 14:46:05 +0000 (16:46 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 29 Jun 2020 14:46:05 +0000 (16:46 +0200)
ntp_sources.c

index 753ca3187370f64736e5aab9020ed4b46c884c1d..6cea719fb8db63a2b368669712dbc342285419af 100644 (file)
@@ -244,8 +244,7 @@ find_slot(IPAddr *ip_addr, int *slot)
 
 /* ================================================== */
 /* 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
-        was provided
+   0 => IP not matched, empty slot returned if a valid address was provided
    1 => Only IP matched, port doesn't match
    2 => Both IP and port matched. */