Skip to content

Commit 8d0a28d

Browse files
authored
Merge pull request #173 from JAndrassy/wifis3_config_auto_dns
WiFiS3 - static IP config, fix automatic DNS IP
2 parents 773fdc0 + 9fe4941 commit 8d0a28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/WiFiS3/src/WiFi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void CWifi::config(IPAddress local_ip) {
106106
IPAddress _gw(local_ip[0],local_ip[1], local_ip[2], 1);
107107
IPAddress _sm(255,255,255,0);
108108
IPAddress dns(0,0,0,0);
109-
return _config(local_ip, _gw, _sm,dns,dns);
109+
return _config(local_ip, _gw, _sm, _gw, dns);
110110
}
111111

112112
/* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)