* [Bug 2069] broadcastclient, multicastclient spin up duplicate
ephemeral associations without broadcastdelay.
* Exclude not-yet-determined sys_refid from use in loopback TEST12
- (from David Mills).
+ (from David Mills).
+* Never send KoD rate limiting response to MODE_SERVER response.
+
---
(4.2.6p5-RC1) 2011/10/18 Released by Harlan Stenn <stenn@ntp.org>
* protocol. A protocol restart will occur at
* the next ASSOC message.
*/
- if (peer->cast_flags & MDF_BCLNT &&
+ if ((peer->cast_flags & MDF_BCLNT) &&
peer->assoc != associd)
break;
restrict_mask = ntp_monitor(rbufp, restrict_mask);
if (restrict_mask & RES_LIMITED) {
sys_limitrejected++;
- if (!(restrict_mask & RES_KOD) || hismode ==
- MODE_BROADCAST)
+ if (!(restrict_mask & RES_KOD) || MODE_BROADCAST ==
+ hismode || MODE_SERVER == hismode)
return; /* rate exceeded */
if (hismode == MODE_CLIENT)
{
endpt * unicast_ep;
- if (!(INT_MCASTIF & p->dstadr->flags))
+ if (p->dstadr != NULL && !(INT_MCASTIF & p->dstadr->flags))
unicast_ep = p->dstadr;
else
unicast_ep = findinterface(&p->srcadr);