Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 00:35:37 -0500
From:      stenn@whimsy.udel.edu
To:        hackers@freebsd.org
Subject:   Harlan Stenn: 
Message-ID:  <16352.948260137@whimsy.udel.edu>

next in thread | raw e-mail | index | archive | help
Can anybody comment on whether or not this is a good patch?
------- Forwarded Message

From: Harlan Stenn <stenn@whimsy.udel.edu>
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 <davids@webmaster.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16352.948260137>