This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: sntp question
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Will Wagner <will_wagner at carallon dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 2 Nov 2005 20:43:30 +0100
- Subject: Re: [ECOS] sntp question
- References: <4368AD30.9050308@carallon.com>
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