Skip to content

Commit 1efe5ee

Browse files
authored
LwipIntfDev - add parameter's missing default value for dnsIP(n) (esp8266#9039)
1 parent 9a4e178 commit 1efe5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/LwipIntfDev.h

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy