This is the mail archive of the ecos-discuss@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]

Re: Re: DHCP crash with Novell Server


On Wed, Jun 20, 2001 at 05:41:28PM +0100, Jonathan Larmour wrote:
> > On Tue, Jun 19, 2001 at 03:44:51PM -0500, Grant Edwards wrote:
> > 
> > > > However, when used with a Novell Netware 5.0 server it crashes
> > > > (the board resets) when the IP lease expires (600 seconds in
> > > > the example below).
> > 
> > Patch corresponding to previously described fixes is attached.
> > 
> > Gauranteed to work or your money back!
> 
> It's only fair I suppose :). It seems good from my reading of it. If you
> write a ChangeLog entry I'll check it in.

Doh!  I keep forgetting the Changelog entry:

2001-20-06  Grant Edwards  <grante@visi.com>

        * src/lib/dhcp_prot.c (alarm_function): Move changing
        of state variable to before the re-enabling of the
        alarm to prevent infinite nesting of calls to
        alarm_function when expiry==t1==t2. (new_lease): Check
        return status of get_bootp_option() and provide default
        values for expiry/T1/T2 if they are not provided by the
        server.

-- 
Grant Edwards
grante@visi.com


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