This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DHCP Options Enhancements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]