From: Dave Hart Date: Tue, 17 Nov 2009 04:25:42 +0000 (+0000) Subject: use (peer->pmode == MODE_BROADCAST) rather than X-Git-Tag: NTP_4_2_5P246_RC~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b05725b2fcafe1f764aa560f663989f5d3ab6a87;p=thirdparty%2Fntp.git use (peer->pmode == MODE_BROADCAST) rather than (peer->castflags & MDF_BCLNT) to detect ephemeral broadcastclient associations to exempt from peer_clear("XFAC") bk: 4b0225c6TAVAd4S4kemfUVbARVyduw --- diff --git a/ChangeLog b/ChangeLog index f8007b687..985a09657 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1378] Unnecessary resetting of peers during interface update. (4.2.5p245-RC) 2009/11/14 Released by Harlan Stenn * Cleanup from Dave Mills. * [Bug 1343] sntp illegal C does not compile on Solaris 7. diff --git a/ntpd/ntp_peer.c b/ntpd/ntp_peer.c index e951a62d0..1a800bd2b 100644 --- a/ntpd/ntp_peer.c +++ b/ntpd/ntp_peer.c @@ -589,7 +589,7 @@ peer_refresh_interface( * clear crypto if we change the local address */ if (peer->dstadr != piface && !(peer->cast_flags & - (MDF_ACAST | MDF_BCLNT))) + MDF_ACAST) && peer->pmode != MODE_BROADCAST) peer_clear(peer, "XFAC"); /*