Dear All,

I found a small problem, while porting lwip from 1.4.1 to 2.0.2. 

I have an application that requires including dhcp.h, however, since the
DHCP state messages are in prot/dhcp.h 
I got a compile error.. 
" error: 'DHCP_STATE_BOUND' undeclared (first use in this function)
                 if (new_state == DHCP_STATE_BOUND) {"

when I included  "lwip/prot/dhcp.h"  the error was gone.. 

Maybe in the main repository, dhcp.h needs to include "lwip/prot/dhcp" ... 


thanks in advance.. 







--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

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

Reply via email to