Skip to content

Commit 901305c

Browse files
JAndrassyhasenradball
authored andcommitted
LwipIntfDev - add parameter's missing default value for dnsIP(n) (esp8266#9039)
1 parent f9d9063 commit 901305c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/LwipIntfDev.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class LwipIntfDev: public LwipIntf, public RawDev
9696
{
9797
return IPAddress(ip4_addr_get_u32(ip_2_ip4(&_netif.gw)));
9898
}
99-
IPAddress dnsIP(int n) const // WiFi lib way
99+
IPAddress dnsIP(int n = 0) const // WiFi lib way
100100
{
101101
return IPAddress(dns_getserver(n));
102102
}

0 commit comments

Comments
 (0)