Skip to content

Commit

Permalink
LwipIntfDev - add parameter's missing default value for dnsIP(n) (esp…
Browse files Browse the repository at this point in the history
  • Loading branch information
JAndrassy authored and hasenradball committed Nov 18, 2024
1 parent f9d9063 commit 901305c
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 901305c

Please sign in to comment.