Skip to content

Commit 63182de

Browse files
committed
Add missing DNS server address with ESP8266/ESP32
similar as handled with Ethernet variant
1 parent d09c462 commit 63182de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/MyGatewayTransportEthernet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bool gatewayTransportInit(void)
169169
WiFi.setHostname(MY_HOSTNAME);
170170
#endif
171171
#ifdef MY_IP_ADDRESS
172-
WiFi.config(_ethernetGatewayIP, _gatewayIp, _subnetIp);
172+
WiFi.config(_ethernetGatewayIP, _gatewayIp, _subnetIp, _gatewayIp);
173173
#endif
174174
(void)WiFi.begin(MY_WIFI_SSID, MY_WIFI_PASSWORD, 0, MY_WIFI_BSSID);
175175
while (WiFi.status() != WL_CONNECTED) {

0 commit comments

Comments
 (0)