lwip_nat_arduino
lwip_nat_arduino copied to clipboard
Error in compiling
Hi, i have the following error:
WiFiNatRouter:66:39: error: invalid cast from type 'IPAddress' to type 'ip_addr*'
dhcps_set_DNS(WiFi.dnsIP());
^
exit status 1 invalid cast from type 'IPAddress' to type 'ip_addr*'
I meet this issue also. the problem is IPAddress is one int group. not one strcut. so if you add "strcut myespdns; "and use this myespdns for dhcps_set_DNS(myespdns); , your issue will be ok. but, will get another issue, dhcps_set_DNS is not yet defined.