From: Miroslav Lichvar Date: Mon, 29 Jun 2020 14:46:05 +0000 (+0200) Subject: ntp: fix comment about find_slot() X-Git-Tag: 4.0-pre3~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc72c0cfa6e4a203da08460a39128e00544be2e;p=thirdparty%2Fchrony.git ntp: fix comment about find_slot() --- diff --git a/ntp_sources.c b/ntp_sources.c index 753ca318..6cea719f 100644 --- a/ntp_sources.c +++ b/ntp_sources.c @@ -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. */