[Bug 1841] Incorrect processing of DNS info from DHCP

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Dec 9 23:14:52 UTC 2011


--- Comment #11 from Chris Johns <chrisj at rtems.org> 2011-12-09 17:14:51 CST ---
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > Yes, leave it where it is. Thinking a little more about this we cannot reset
> > > the value to 0. The correct solution is to track static and DHCP entries and
> > > remove only the DHCP entries when a new request is received.
> > 
> > Unless this is done properly, can we simply reset it at the beginning of a new
> > request? I believe this already represents a progress for most configurations,
> > including mine.
> Give me a line number or good hint at where it needs to go.

Clearing the value could break others to resolve the problem for just 1.

The patch I just attached attempts to record the entries made by the DHCP
request and clear them out when a new request has been acknowledged. The code
compiles but has not been tested. Sebastien could you please test for us
checking the memmove code is correct ?

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list