We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a95ef79 commit 71a93ccCopy full SHA for 71a93cc
1 file changed
libraries/WiFi/src/AP.cpp
@@ -319,7 +319,8 @@ bool APClass::enableDhcpCaptivePortal() {
319
320
// Create Captive Portal URL: http://192.168.0.4
321
strcpy(captiveportal_uri, "http://");
322
- strcat(captiveportal_uri, String(localIP()).c_str());
+ strcat(captiveportal_uri, localIP().toString().c_str());
323
+ log_i("DHCP Captive Portal URL: %s", captiveportal_uri);
324
325
// Stop DHCPS
326
err = esp_netif_dhcps_stop(_esp_netif);
0 commit comments