From 1efe5ee3fc0459e5841193cf0cbe26b705294f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Andr=C3=A1ssy?= <10706773+JAndrassy@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:44:55 +0100 Subject: [PATCH] LwipIntfDev - add parameter's missing default value for dnsIP(n) (#9039) --- cores/esp8266/LwipIntfDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/LwipIntfDev.h b/cores/esp8266/LwipIntfDev.h index 94e3e71c63..b6679f709a 100644 --- a/cores/esp8266/LwipIntfDev.h +++ b/cores/esp8266/LwipIntfDev.h @@ -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)); }