lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP


From: Bill Auerbach
Subject: [lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP
Date: Tue, 01 Apr 2008 19:19:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

Follow-up Comment #3, bug #22804 (project lwip):

Well then, dhcp_stop doesn't clear this flag but should.  dhcp_stop means
don't handle this netif by DHCP, but the flag is left saying it is.  If I tell
it to stop and set a manual IP address, it shouldn't still be set, right?

To make more sense, what my broadcast UDP packet returns is a DHCP enabled
flag (since it can be set by the user to be used or not).  It returns if the
IP address is DHCP assigned or not (because if there is no DHCP response after
5 seconds I fallback to a user-defined static IP address).  If this flags
follows dhcp_start and dhcp_stop, then the data I return to PC program is
correct by using this flag.  I know if DHCP isn't being used that it must be a
static IP address.  If it is used, I can tell if DHCP got an IP address or I
had to fallback.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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