diff options
| -rw-r--r-- | windows/winnet/src/winnet/routing/routemanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/windows/winnet/src/winnet/routing/routemanager.cpp b/windows/winnet/src/winnet/routing/routemanager.cpp index 81ed54f38e..8a57a1e088 100644 --- a/windows/winnet/src/winnet/routing/routemanager.cpp +++ b/windows/winnet/src/winnet/routing/routemanager.cpp @@ -604,6 +604,11 @@ void RouteManager::defaultRouteChanged(ADDRESS_FAMILY family, DefaultRouteMonito for (auto &it : affectedRoutes) { + // + // We can't update the existing route because defining characteristics are being changed. + // So removing and adding again is the only option. + // + try { deleteFromRoutingTable(it->registeredRoute); |
