lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] DHCP fails ?


From: Dirk Ziegelmeier
Subject: Re: [lwip-users] DHCP fails ?
Date: Wed, 10 May 2017 08:02:12 +0200

 

After checking/debugging I found that if I add a call to function netif_set_link_down(netif); just before I check for link and

netif_set_link_up(netif); … DHCP task will work fine



​Sounds correct - from the UPGRADING document (https://git.savannah.gnu.org/cgit/lwip.git/tree/UPGRADING):

Changed netif "up" flag handling to be an administrative flag (as opposed to the previous meaning of
"ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif has to be set "up" before starting the DHCP client

HTH
Dirk

reply via email to

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