From: Harlan Stenn Date: Mon, 6 Nov 2006 07:51:53 +0000 (-0500) Subject: [Bug 732] C-DEX JST2000 patch from Hideo Kuramatsu X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=674ddb90ac1dc32380aa76b2fc2bea8e668607fd;p=thirdparty%2Fntp.git [Bug 732] C-DEX JST2000 patch from Hideo Kuramatsu bk: 454ee999bjEa8IxMM8_P1w_kXXQ3OA --- diff --git a/NEWS b/NEWS index 45fffffb4e..4b8c88fb9e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* [Bug 732] C-DEX JST2000 patch from Hideo Kuramatsu. * [Bug 721] check for __ss_family and __ss_len separately. * [Bug 666] ntpq opeers displays jitter rather than dispersion. * [Bug 718] Use the recommended type for the saddrlen arg to getsockname(). diff --git a/ntpd/refclock_jjy.c b/ntpd/refclock_jjy.c index 40907be13f..9d1419a6f6 100644 --- a/ntpd/refclock_jjy.c +++ b/ntpd/refclock_jjy.c @@ -70,6 +70,10 @@ /* 2004/11/28 */ /* [Add] Support the Echo Keisokuki LT-2000 receiver */ /* */ +/* 2006/11/04 */ +/* [Fix] C-DEX JST2000 */ +/* Thanks to Hideo Kuramatsu for the patch */ +/* */ /**********************************************************************/ #ifdef HAVE_CONFIG_H @@ -281,6 +285,7 @@ jjy_start ( int unit, struct peer *peer ) up->unittype = UNITTYPE_CDEX_JST2000 ; up->lineexpect = 1 ; up->charexpect[0] = 15 ; /* JYYMMDD HHMMSSS */ + break ; case 3 : up->unittype = UNITTYPE_ECHOKEISOKUKI_LT2000 ; up->operationmode = 2 ; /* Mode 2 : Continuous mode */