Merge branch 'master' of github.com:rjwats/esp8266-react
This commit is contained in:
commit
e62b239ea1
@ -77,7 +77,7 @@ void WiFiSettingsService::reconfigureWiFiConnection() {
|
||||
}
|
||||
|
||||
void WiFiSettingsService::readIP(JsonObject& root, String key, IPAddress& _ip){
|
||||
if ( root[key].isNull() || !_ip.fromString(root[key].as<String>())){
|
||||
if ( !root[key].is<String>() || !_ip.fromString(root[key].as<String>())){
|
||||
_ip = INADDR_NONE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user