From owner-freebsd-hackers Tue Jan 18 21:36:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whimsy.udel.edu (whimsy.udel.edu [128.4.2.3]) by hub.freebsd.org (Postfix) with SMTP id 5C59714E5B for ; Tue, 18 Jan 2000 21:36:15 -0800 (PST) (envelope-from stenn@whimsy.udel.edu) To: hackers@freebsd.org Subject: Harlan Stenn: Date: Wed, 19 Jan 2000 00:35:37 -0500 Message-ID: <16352.948260137@whimsy.udel.edu> From: stenn@whimsy.udel.edu Source-Info: From (or Sender) name not authenticated. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can anybody comment on whether or not this is a good patch? ------- Forwarded Message From: Harlan Stenn Date: Wed, 19 Jan 2000 00:24:32 -0500 X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: stenn@whimsy.udel.edu Message-ID: <200001190024.aa16341@whimsy.udel.edu> From: David Schwartz Subject: Request for fix in NTPv4, patch attached Newsgroups: comp.protocols.time.ntp Date: Tue, 18 Jan 2000 16:16:14 -0800 Organization: Posted via Supernews, http://www.supernews.com Path: news.udel.edu!news.eecis.udel.edu!netnews.com!newsfeed.berkeley.edu!remarQ70!rQdQ!supernews.com!remarQ.com!news.supernews.com!not-for-mail Lines: 20 Message-ID: <3885024E.BCC631C6@webmaster.com> X-Complaints-To: newsabuse@supernews.com X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Xref: news.udel.edu comp.protocols.time.ntp:12686 Can I please get this fix applied? Who do I need to email and bitch to? - --- ntp_proto_orig.c Tue Jan 18 16:12:01 2000 +++ ntp_proto.c Tue Jan 18 16:14:09 2000 @@ -1501,7 +1501,7 @@ poll_update(peer_list[i], peer_list[i]->hpoll); if (peer_list[i]->stratum == peer_list[0]->stratum) { leap_consensus |= peer_list[i]->leap; - - if (peer_list[i]->refclktype == REFCLK_ATOM_PPS) + if (peer_list[i]->sstclktype == CTL_SST_TS_ATOM) typepps = peer_list[i]; if (peer_list[i] == sys_peer) typesystem = peer_list[i]; The REFCLK_ATOM_PPS is not necessarily the only clock that is PPS capable. Others might be, and they will set their sstclktype to CTL_SST_TS_ATOM, but they can't change their refclktype. DS ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message