From: Miroslav Lichvar Date: Wed, 2 Dec 2015 18:14:19 +0000 (+0100) Subject: clientlog: fix counting of command drops X-Git-Tag: 2.3-pre1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4074c79938f98d4e787214ce6dafa9b008d8125;p=thirdparty%2Fchrony.git clientlog: fix counting of command drops --- diff --git a/clientlog.c b/clientlog.c index a667d607..d96649a4 100644 --- a/clientlog.c +++ b/clientlog.c @@ -508,6 +508,8 @@ CLG_LimitCommandResponseRate(int index) if (!limit_response_random(cmd_leak_rate)) return 0; + record->cmd_drops++; + return 1; }