From: Dave Hart Date: Sat, 27 Feb 2010 23:34:22 +0000 (+0000) Subject: ntp_proto.c: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83ba54d25d1bf218e95a11dc71c2ef76c3abd208;p=thirdparty%2Fntp.git ntp_proto.c: broadcast demobilization fix from DLM bk: 4b89abferhaAHSlCbOP8mLM9vGoQJw --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index cabdcd746b..354ae6bb00 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -252,12 +252,12 @@ transmit( /* * Here the peer is reachable. Send a burst if * enabled and the peer is fit. Reset unreach - * for persistent associations. Unreach is also - * reset for survivors in clock_select(). + * for persistent and ephemeral associations. + * Unreach is also reset for survivors in + * clock_select(). */ hpoll = sys_poll; - if ((peer->flags & FLAG_CONFIG) && !(peer->flags - & FLAG_PREEMPT)) + if (!(peer->flags & FLAG_PREEMPT)) peer->unreach = 0; if ((peer->flags & FLAG_BURST) && peer->retry == 0 && !peer_unfit(peer))