Hi

I am running into two assertions on starting DHCP.  They are the following:


Assertion "dhcp_create_msg: dhcp->p_out == NULL" failed at line 1774 in 
src/core/ipv4/dhcp.c
Assertion "dhcp_create_msg: dhcp->msg_out == NULL" failed at line 1775 in 
src/core/ipv4/dhcp.c


code I use to start lwip is the follows:


   IP4_ADDR(&gw, 0,0,0,0);
   IP4_ADDR(&ipaddr, 0,0,0,0);
   IP4_ADDR(&netmask, 0,0,0,0);

   ....


   netif_add(&ethernet_netif, &ipaddr, &netmask, &gw, NULL, ethernetif_init, 
tcpip_input);
   netif_set_default(&ethernet_netif);
   netif_set_up(&ethernet_netif);
   dhcp_start(&ethernet_netif);


Can someone shed some light into why I am running into this?


Thanks in advance.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to