lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netif


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netifs
Date: Wed, 28 Nov 2007 21:48:30 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10

Follow-up Comment #5, bug #21655 (project lwip):

Here's patch for udp_input (first file).
Couldn't test it much since I don't have two networks to connect to... But it
works with ethernet-netif and loopif.


BTW: ip_input could be sped up if checking for DHCP_CLIENT_PORT before
walking the netif list (second file).

Next, it would be good to prevent user-applications to bind to
DHCP_CLIENT_PORT when LWIP_DHCP is enabled, but there's no way of knowing
whether the pcb belongs to dhcp.c or a user app in udp_bind :-(

(file #14504, file #14505)
    _______________________________________________________

Additional Item Attachment:

File name: udp.c_dhcpinput.patch          Size:1 KB
File name: ip.c_ip_input_dhcp_faster.patch Size:2 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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