update route poker logic to include "up"

pull/1532/head
Jeff Becker 3 years ago
parent e46204b068
commit b484d9bebb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -132,13 +132,10 @@ namespace llarp
{
LogInfo("found default gateway: ", gateway);
m_CurrentGateway = gateway;
if (m_Enabled) // if route was already set up
{
DisableAllRoutes();
}
if (m_Enabling)
{
EnableAllRoutes();
Up();
}
}
// revive network connectitivity on gateway change or network wakeup

Loading…
Cancel
Save