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.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to