From 8bdfe1741a26ec5345e753ebd5a0dd52e3af667b Mon Sep 17 00:00:00 2001 From: pokamest Date: Thu, 10 Jun 2021 17:58:28 +0300 Subject: [PATCH] Win Routes fix --- service/server/router_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/server/router_win.cpp b/service/server/router_win.cpp index e7cc38bf6..d242821ee 100644 --- a/service/server/router_win.cpp +++ b/service/server/router_win.cpp @@ -112,7 +112,7 @@ int RouterWin::routeAddList(const QString &gw, const QStringList &ips) continue; } - QString mask = Utils::netMaskFromIpWithSubnet(ip); + QString mask = Utils::netMaskFromIpWithSubnet(ipWithMask); // address ipfrow.dwForwardDest = inet_addr(ip.toStdString().c_str());