[Top][All Lists]
[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/
- [lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP, Bill Auerbach, 2008/04/01
- [lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP, Frédéric Bernon, 2008/04/01
- [lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP, Simon Goldschmidt, 2008/04/01
- [lwip-devel] [bug #22804] netif_set_ipaddr doesn't clear NETIF_FLAG_DHCP,
Bill Auerbach <=
- [lwip-devel] [bug #22804] dhcp_stop doesn't clear NETIF_FLAG_DHCP, Simon Goldschmidt, 2008/04/02
- [lwip-devel] [bug #22804] dhcp_stop doesn't clear NETIF_FLAG_DHCP, Simon Goldschmidt, 2008/04/14
- [lwip-devel] [bug #22804] dhcp_stop doesn't clear NETIF_FLAG_DHCP, Jonathan Larmour, 2008/04/14
- [lwip-devel] [bug #22804] dhcp_stop doesn't clear NETIF_FLAG_DHCP, Frédéric Bernon, 2008/04/15
- [lwip-devel] [bug #22804] dhcp_stop doesn't clear NETIF_FLAG_DHCP, Simon Goldschmidt, 2008/04/15