From: Harlan Stenn Date: Sat, 16 Nov 2002 22:28:53 +0000 (-0500) Subject: PEER_EVENT bugfix. X-Git-Tag: NTP_4_1_1C_RC1~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a987ce68a33b6f4fecfa00b6fd72b088188d16;p=thirdparty%2Fntp.git PEER_EVENT bugfix. From: Luis Batanero bk: 3dd6c6a5wqUxTd9RVApZW1tmonQJog --- diff --git a/ntpd/ntp_control.c b/ntpd/ntp_control.c index d7109cabe..9f061926a 100644 --- a/ntpd/ntp_control.c +++ b/ntpd/ntp_control.c @@ -2727,12 +2727,13 @@ report_event( /* * Dump it all. Later, maybe less. */ - for (i = 1; i <= CP_MAXCODE; i++) + for (i = 1; i <= CP_MAXCODE; i++) { #ifdef PUBKEY if (i > CP_VARLIST) continue; #endif /* PUBKEY */ ctl_putpeer(i, peer); + } #ifdef REFCLOCK /* * for clock exception events: add clock variables to