]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_proto.c:
authorDave Hart <hart@ntp.org>
Sat, 27 Feb 2010 23:34:22 +0000 (23:34 +0000)
committerDave Hart <hart@ntp.org>
Sat, 27 Feb 2010 23:34:22 +0000 (23:34 +0000)
  broadcast demobilization fix from DLM

bk: 4b89abferhaAHSlCbOP8mLM9vGoQJw

ntpd/ntp_proto.c

index cabdcd746b71b026ce65d664837224d21badb353..354ae6bb00e19fb4d3ce6ab1fa99f5fccdc8b355 100644 (file)
@@ -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))