1 $DragonFly: src/usr.sbin/ntpd/patches/Attic/client.c.patch,v 1.5 2005/04/18 18:17:20 joerg Exp $
3 --- client.c 25 Feb 2005 16:43:19 -0000 1.6
4 +++ client.c 12 Apr 2005 20:13:45 -0000
7 p->query->msg.xmttime.int_partl = arc4random();
8 p->query->msg.xmttime.fractionl = arc4random();
9 - p->query->xmttime = gettime();
10 + p->query->xmttime = gettime_corrected();
12 if (ntp_sendmsg(p->query->fd, NULL, &p->query->msg,
13 NTP_MSGSIZE_NOAUTH, 0) == -1) {
19 + T4 = gettime_corrected();
21 ntp_getmsg(buf, size, &msg);