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.
2 parents 5a07aab + 2b9210c commit 451bd06Copy full SHA for 451bd06
components/wifi/esp8266-driver/ESP8266Interface.cpp
@@ -571,7 +571,7 @@ nsapi_error_t ESP8266Interface::get_netmask(SocketAddress *address)
571
return NSAPI_ERROR_NO_CONNECTION;
572
}
573
574
- if (!address->set_ip_address(_esp.gateway())) {
+ if (!address->set_ip_address(_esp.netmask())) {
575
return NSAPI_ERROR_NO_ADDRESS;
576
577
0 commit comments