From 3fc72c0cfa6e4a203da08460a39128e00544be2e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 29 Jun 2020 16:46:05 +0200 Subject: [PATCH] ntp: fix comment about find_slot() --- ntp_sources.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ntp_sources.c b/ntp_sources.c index 753ca31..6cea719 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. */