feat: Change gateway settings in NetworkManager
This commit is contained in:
@@ -63,6 +63,7 @@ void NetworkManager::initNetworkInfo()
|
||||
mIsDHCP = !entry.isPermanent();
|
||||
mIpAddress = entry.ip().toString();
|
||||
mSubNetMask = entry.netmask().toString();
|
||||
mGateway = JsonObject::Instance()->getDefaultIpAddr().gateway;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user