130

来自「Unix/Linux 网络时间协议版本3 Network Time Proto」· 代码 · 共 34 行

TXT
34
字号
Replied: Sun, 04 May 1997 01:54:09 -0400Replied: "Juha Sarlin <juha@c3l.tyreso.se> "Received: from snow-white.ee.udel.edu by whimsy.udel.edu id aa03492;          16 Apr 97 0:50 GMTReceived: (from juha@localhost)	by samuraj.c3l.tyreso.se (8.8.5/8.8.5) id CAA02392;	Wed, 16 Apr 1997 02:49:56 +0200Date: Wed, 16 Apr 1997 02:49:56 +0200From: Juha Sarlin <juha@c3l.tyreso.se>Message-Id: <199704160049.CAA02392@samuraj.c3l.tyreso.se>To: stenn@whimsy.udel.eduSubject: Second offset fix for xntp3-5.90The recently added cutout changes can make xntpd get stuck withinteger part of offset != 0. Here is a fix:*** xntpd/ntp_loopfilter.c~	Sat Apr  5 08:34:15 1997--- xntpd/ntp_loopfilter.c	Wed Apr 16 22:12:27 1997****************** 238,243 ****  	 * cutout switch.  	 */! 	} else if ((ftmp.l_ui > CLOCK_MAX_I || (ftmp.l_ui == CLOCK_MAX_I! 	    && ftmp.l_uf >= CLOCK_MAX_F)) && !cutout) {  		tc_counter = 0;  		sys_poll = peer->minpoll;--- 238,243 ----  	 * cutout switch.  	 */! 	} else if (ftmp.l_ui > CLOCK_MAX_I || (ftmp.l_ui == CLOCK_MAX_I! 	    && ftmp.l_uf >= CLOCK_MAX_F && !cutout)) {  		tc_counter = 0;  		sys_poll = peer->minpoll;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?