Date: Fri, 2 Jun 1995 17:27:04 +1000 From: Bruce Evans <bde@zeta.org.au> To: avl@flox.kiam1.rssi.ru Cc: current@FreeBSD.ORG Subject: Re: bin/470: timed & timedc bugs Message-ID: <199506020727.RAA29876@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> and very big time difference displayed
> by
> timedc clockdiff lotos
>...
>*** measure.c.orig Mon Mar 20 16:46:47 1995
>--- measure.c Mon Mar 20 20:07:49 1995
>***************
>*** 151,157 ****
> */
> if (trials < TRIALS) {
> trials++;
>! oicp->icmp_otime = ((tcur.tv_sec % SECDAY) * 1000
> + tcur.tv_usec / 1000);
> oicp->icmp_cksum = 0;
> oicp->icmp_cksum = in_cksum((u_short*)oicp,
>--- 151,157 ----
> */
> if (trials < TRIALS) {
> trials++;
>! oicp->icmp_otime = htonl((tcur.tv_sec % SECDAY) * 1000
> + tcur.tv_usec / 1000);
> oicp->icmp_cksum = 0;
> oicp->icmp_cksum = in_cksum((u_short*)oicp,
This was fixed in revision 1.2 on 1994/11/27 a few days after FreeBSD-2.0
was released.
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506020727.RAA29876>
