This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: DHCP Options Enhancements
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Jay Foster <jay dot foster at systech dot com>
- Cc: "'ecos-patches at sources dot redhat dot com'" <ecos-patches at sources dot redhat dot com>
- Date: Thu, 16 Oct 2003 10:19:57 +0200
- Subject: Re: DHCP Options Enhancements
- References: <80B97DE95AEED311BA580050047FE98494F737@mail.systech.com>
On Mon, Oct 13, 2003 at 11:11:12AM -0700, Jay Foster wrote:
> Andrew Lunn wrote:
> > This requires that all applications that are linked with an eCos
> > library with this option enabled have a function called
> > cyg_get_dhcp_hostname(). Think about all the test cases etc. They
> > don't have this function so they will not link.
> I did it this way intentionally. The new option is disabled by
> default, so no existing applications or test cases would have any
> linking problems. If you enabled the option, then you would need to
> provide the host name via the cyg_get_dhcp_hostname() function. The
> linking error would remind you if you forgot. It is an error to
> enable this option and not provide the host name, since there is no
> default host name.
I can understand your point, but i prefer to always be able to build
the test cases for any configuration.
> I have attached a new patch with the suggested change.
Thanks, i've committed it.
One last request. Could you add some documentation for these new
options to the net.sgml file.
Thanks
Andrew