Skip to content

Commit 442d95b

Browse files
author
Luc
committed
Update wificonf.cpp
Set Gateway as DNS in STA Static IP mode
1 parent f1b31c6 commit 442d95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp3d/wificonf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ bool WIFI_CONFIG::Setup (bool force_ap)
454454
}
455455
IPAddress subnet (ip_buf[0], ip_buf[1], ip_buf[2], ip_buf[3]);
456456
//apply according active wifi mode
457-
WiFi.config ( local_ip, gateway, subnet);
457+
WiFi.config ( local_ip, gateway, subnet, gateway);
458458
}
459459
WiFi.enableAP (false);
460460
delay (100);

0 commit comments

Comments
 (0)