Skip to content

Commit aee54e9

Browse files
authored
Merge pull request #199 from JAndrassy/wific3_configip_setdns
WiFiC3 - config(ip) didn't set default value for DNS IP
2 parents 773d248 + fda05e8 commit aee54e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFi/src/WiFi.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ void CWifi::config(IPAddress local_ip) {
8989
_gw[3] = 1;
9090

9191
_config(local_ip, _gw, _nm);
92+
setDNS(_gw);
9293
}
9394

9495
extern uint8_t *IpAddress2uint8(IPAddress a);

0 commit comments

Comments
 (0)