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 ef2c1c8 commit 2b9210cCopy full SHA for 2b9210c
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