YTK fix.
This commit is contained in:
parent
b93ad9c7b6
commit
cbab4c9147
@ -565,8 +565,8 @@ cmd: USER SP username CRLF
|
||||
struct tm *gmtime();
|
||||
t = gmtime(&stbuf.st_mtime);
|
||||
reply(213,
|
||||
"19%02d%02d%02d%02d%02d%02d",
|
||||
t->tm_year, t->tm_mon+1, t->tm_mday,
|
||||
"%d%02d%02d%02d%02d%02d",
|
||||
t->tm_year+1900, t->tm_mon+1, t->tm_mday,
|
||||
t->tm_hour, t->tm_min, t->tm_sec);
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#if defined(REFCLOCK) && (defined(PARSE) || defined(PARSEPPS)) && defined(CLOCK_TRIMTSIP)
|
||||
/*
|
||||
* $Header: /home/ncvs/src/usr.sbin/xntpd/parse/clk_trimtsip.c,v 1.1.1.1 1994/09/29 23:01:31 wollman Exp $
|
||||
* $Header: /home/ncvs/src/usr.sbin/xntpd/parse/clk_trimtsip.c,v 1.2 1995/05/30 03:54:13 rgrimes Exp $
|
||||
*
|
||||
* Trimble TSIP support - CURRENTLY VERY MUCH UNDER CONSTRUCTION
|
||||
*/
|
||||
@ -243,8 +243,8 @@ cvt_trimtsip(buffer, size, format, clock, t)
|
||||
break;
|
||||
|
||||
case 0x45:
|
||||
printf("sv6+ software: %d.%d (19%d/%d/%d)\n",
|
||||
mb(0)&0xff, mb(1)&0xff, mb(4)&0xff, mb(2)&0xff, mb(3)&0xff);
|
||||
printf("sv6+ software: %d.%d (%d/%d/%d)\n",
|
||||
mb(0)&0xff, mb(1)&0xff, (mb(4)&0xff)+1900, mb(2)&0xff, mb(3)&0xff);
|
||||
break;
|
||||
|
||||
case 0x46:
|
||||
@ -468,6 +468,9 @@ getint(bp)
|
||||
* History:
|
||||
*
|
||||
* $Log: clk_trimtsip.c,v $
|
||||
* Revision 1.2 1995/05/30 03:54:13 rgrimes
|
||||
* Remove trailing whitespace.
|
||||
*
|
||||
* Revision 1.1.1.1 1994/09/29 23:01:31 wollman
|
||||
* xntp 3.4e from Dave Mills @ UDel
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user