Subject: missing word in timed/measure.c
To: None <>
From: Gerard J van der Grinten <>
List: current-users
Date: 04/22/1994 11:34:23
A long time error is in usr.sbin/timed/measure.c where someone
deleted the htonl conversion of the time value. It does not matter
on big endians but small (little-endian) machines get it all wrong when
timedc is used to measure clock differences.. (timed itself gets problems too)
Here are the diff(s):
< 			oicp->icmp_otime = ((tcur.tv_sec % SECDAY) * 1000
> 			oicp->icmp_otime = htonl((tcur.tv_sec % SECDAY) * 1000
regards, Gerard.
Gerard J van der Grinten  []
Elzenlaan 8                       (temporary qrl)
3467 TJ Driebruggen       (home)
Netherlands       (+031)-34871606  Home. (+031)-52748435 Qrl.