mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12670 from michalpasztamobica/esp8266_netmask_gateway
ESP8266: Fix typo: gateway to netmaskpull/12719/head
commit
451bd061bd
|
@ -571,7 +571,7 @@ nsapi_error_t ESP8266Interface::get_netmask(SocketAddress *address)
|
|||
return NSAPI_ERROR_NO_CONNECTION;
|
||||
}
|
||||
|
||||
if (!address->set_ip_address(_esp.gateway())) {
|
||||
if (!address->set_ip_address(_esp.netmask())) {
|
||||
return NSAPI_ERROR_NO_ADDRESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue