diff options
Diffstat (limited to 'ntpd/ntp_request.c')
-rw-r--r-- | ntpd/ntp_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpd/ntp_request.c b/ntpd/ntp_request.c index bffdec5a9d1d..e7997a3b9095 100644 --- a/ntpd/ntp_request.c +++ b/ntpd/ntp_request.c @@ -1184,7 +1184,7 @@ mem_stats( for (i = 0; i < NTP_HASH_SIZE; i++) ms->hashcount[i] = (u_char) - max((u_int)peer_hash_count[i], UCHAR_MAX); + min((u_int)peer_hash_count[i], UCHAR_MAX); (void) more_pkt(); flush_pkt(); |