This commit is contained in:
Your Name
2024-05-17 11:20:40 -05:00
parent c62f1ac461
commit 9217c612f1

View File

@@ -432,7 +432,7 @@ void WifiManager::addTetheringConnection() {
void WifiManager::tetheringActivated(QDBusPendingCallWatcher *call) { void WifiManager::tetheringActivated(QDBusPendingCallWatcher *call) {
// Todo: this is false if not prime. Override? // Todo: this is false if not prime. Override?
if (!ipv4_forward && false) { if (false) {
QTimer::singleShot(5000, this, [=] { QTimer::singleShot(5000, this, [=] {
qWarning() << "net.ipv4.ip_forward = 0"; qWarning() << "net.ipv4.ip_forward = 0";
std::system("sudo sysctl net.ipv4.ip_forward=0"); std::system("sudo sysctl net.ipv4.ip_forward=0");