> 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
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users