]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
clientlog: fix counting of command drops
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 2 Dec 2015 18:14:19 +0000 (19:14 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 3 Dec 2015 10:43:06 +0000 (11:43 +0100)
clientlog.c

index a667d60746cf74dbc2d251733fbdf941be215c49..d96649a4e04ca9fa81ff20c7a50ce292650ea385 100644 (file)
@@ -508,6 +508,8 @@ CLG_LimitCommandResponseRate(int index)
   if (!limit_response_random(cmd_leak_rate))
     return 0;
 
+  record->cmd_drops++;
+
   return 1;
 }