[Top][All Lists]

[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: 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

Bill, could you try this, please?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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