Hi, you are right the '+' must be replaced with a '-'. It is fixed in
CVS as well as the other bug related to dlsr, see the next mail...

On Mon, Apr 18, 2005 at 11:37:30PM +0900, Takegami, Takashi wrote:
> sir,
> 
>   Isn't wrong? the function NTP2Timeval(rtcppkt.cpp, L60)
> 
>   NTP timestamp is the passed time from 1900, and Timeval is from 1970.
>   (eg. NTP -> Timeval)
>    in case NTP=100yr,  then Timeval = 100yr-70yr(OFFSET) = 30yr.
> 
>   so, the function NTP2Timeval
>   - t.tv_sec = msw + NTP_EPOCH_OFFSET  (wrong)
>   + t.tv_sec = msw - NTP_EPOCH_OFFSET
> 
>                                                            With regars,
> 
> -- 
> TAKEGAMI
> 
> 
> _______________________________________________
> Ccrtp-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel


_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to