From: Harlan Stenn Date: Wed, 22 Nov 2006 07:15:14 +0000 (-0500) Subject: [Bug 741] 'burst' doesn't work with peers X-Git-Tag: NTP_4_2_3P68_RC~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9af997c4ad24484c3c85b51ec37e0d19e6f2b89;p=thirdparty%2Fntp.git [Bug 741] 'burst' doesn't work with peers bk: 4563f902hLpBoLNaIBsil2UTT-UFYg --- diff --git a/NEWS b/NEWS index 6db23f74e..4fa7e11df 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* [Bug 741] "burst" doesn't work with !unfit peers. * [Bug 735] Fix a make/gmake VPATH issue on Solaris. * [Bug 739] ntpd -x should not take an argument. * [Bug 737] Some systems need help providing struct iovec. diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 1dae30e35..0ab249883 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -259,7 +259,7 @@ transmit( } hpoll = sys_poll; if (peer->flags & FLAG_BURST && - peer_unfit(peer)) + !peer_unfit(peer)) peer->burst = NTP_BURST; }