lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP


From: Jakob Stoklund Olesen
Subject: [lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP devices fails
Date: Tue, 21 Jul 2009 08:16:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

Follow-up Comment #11, bug #27049 (project lwip):

I think the proper solution would be to reuse XID for retransmissions. This
is perfectly OK according to RFC2131.

In dhcp_create_request() only increment xid when dhcp->tries==0:


  /* give unique transaction identifier to this request */
  if (dhcp->tries==0) xid++;
  dhcp->xid = xid;


In dhcp_select() and dhcp_discover() call dhcp_set_state() before calling
dhcp_create_request().

Bill, could you try this, please?


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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