lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #25575] DHCP does not call autoip_stop in coop mode


From: Jakob Stoklund Olesen
Subject: [lwip-devel] [bug #25575] DHCP does not call autoip_stop in coop mode
Date: Fri, 13 Feb 2009 09:55:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6

URL:
  <http://savannah.nongnu.org/bugs/?25575>

                 Summary: DHCP does not call autoip_stop in coop mode
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: stoklund
            Submitted on: Fri 13 Feb 2009 10:55:07 AM CET
                Category: IPv4
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

When using LWIP_DHCP_AUTOIP_COOP, the DHCP code may call autoip_start. When
this has happened, autoip_stop should also be called when:

* dhcp_bind overrides the AutoIP address
* dhcp_stop closes the interface

The first case is handled by patch #6721. The second case can be handled in
the same way by inserting


#ifdef LWIP_DHCP_AUTOIP_COOP
  if(dhcp->autoip_coop_state == DHCP_AUTOIP_COOP_STATE_ON) {
    autoip_stop(netif);
    dhcp->autoip_coop_state = DHCP_AUTOIP_COOP_STATE_OFF;
  }
#endif /* LWIP_DHCP_AUTOIP_COOP */


into dhcp_stop.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25575>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]