Fix custom ethernet PHY addr save

This commit is contained in:
iranl
2024-11-28 22:15:42 +01:00
parent dab9baf9ca
commit a7a8aaf0d8
2 changed files with 2 additions and 2 deletions

View File

@@ -1586,7 +1586,7 @@ bool WebCfgServer::processArgs(PsychicRequest *request, String& message)
}
else if(key == "NWCUSTADDR")
{
if(_preferences->getInt(preference_network_custom_addr, 0) != value.toInt())
if(_preferences->getInt(preference_network_custom_addr, -1) != value.toInt())
{
networkReconfigure = true;
_preferences->putInt(preference_network_custom_addr, value.toInt());