lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Assertions when using DHCP when using LWIP 2.0


From: Sergio R. Caprile
Subject: Re: [lwip-users] Assertions when using DHCP when using LWIP 2.0
Date: Mon, 23 Jan 2017 09:54:49 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

You either start the netif yourself with a valid address, or let dhcp do that for you.

  if(usedhcp){
        dhcp_start(&netif);
  } else {
        netif_set_up(&netif);
  }

However, I guess you shouldn't get assertions. Anyway, try it and let us know.
Please give details about your port and where did you get the code from.



reply via email to

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