[ECOS] sntp question

Andrew Lunn andrew@lunn.ch
Wed Nov 2 19:43:00 GMT 2005


On Wed, Nov 02, 2005 at 12:12:32PM +0000, Will Wagner wrote:
> I have been looking at the sntp code in eCos.
> 
> In the docs it talks about starting the sntp thread automatically if the 
> dhcp server includes information about ntp servers. I have searched the 
> source and I can't find any code that does this.
> 
> Are the docs correct and if so where is the code?

packages/net/common/current/src/bootp_support.c:603. Function
init_net(). It calls cyg_sntp_set_servers() which will start the
thread is needed.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list