ntp 校时的问题
cai99 2011-06-02 06:27:45 在开发板上装了一个NTP服务器,现在我修改了NTP的源代码,让NTP的时间比系统时间少几个小时。
现在的问题是:一但减去那几个小时,NTP服务器校时就不成功。
错误信息:
Server dropped: no data
2 Jun 06:23:45 ntpdate[13186]: no server suitable for synchronization found
改动的代码:
pkt->xmt.l_i -= 480*60;//减去8小时