Macos route delete fix

This commit is contained in:
pokamest 2021-04-19 14:34:47 +03:00
parent 85b6b06cc9
commit f9affb083b
3 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ bool Router::routeDelete(const QString &ip, const QString &gw)
#ifdef Q_OS_WIN
return RouterWin::Instance().routeDelete(ip, gw);
#elif defined (Q_OS_MAC)
return RouterMac::Instance().routeDelete(ip);
return RouterMac::Instance().routeDelete(ip, gw);
#endif
}