mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 19:53:52 +08:00
Fix tethering connection disabling internet
https://github.com/commaai/openpilot/pull/35075
This commit is contained in:
@@ -439,7 +439,7 @@ void WifiManager::addTetheringConnection() {
|
||||
address["prefix"] = 24u;
|
||||
connection["ipv4"]["address-data"] = QVariant::fromValue(IpConfig() << address);
|
||||
connection["ipv4"]["gateway"] = "192.168.43.1";
|
||||
connection["ipv4"]["route-metric"] = 1100;
|
||||
connection["ipv4"]["never-default"] = true;
|
||||
connection["ipv6"]["method"] = "ignore";
|
||||
|
||||
asyncCall(NM_DBUS_PATH_SETTINGS, NM_DBUS_INTERFACE_SETTINGS, "AddConnection", QVariant::fromValue(connection));
|
||||
|
||||
Reference in New Issue
Block a user