Skip to content

Commit

Permalink
LwipIntfDev - add parameter's missing default value for dnsIP(n) (#9039)
Browse files Browse the repository at this point in the history
  • Loading branch information
JAndrassy authored Dec 1, 2023
1 parent 9a4e178 commit 1efe5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/LwipIntfDev.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class LwipIntfDev: public LwipIntf, public RawDev
{
return IPAddress(ip4_addr_get_u32(ip_2_ip4(&_netif.gw)));
}
IPAddress dnsIP(int n) const // WiFi lib way
IPAddress dnsIP(int n = 0) const // WiFi lib way
{
return IPAddress(dns_getserver(n));
}
Expand Down

0 comments on commit 1efe5ee

Please sign in to comment.