mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-23 16:32:04 +08:00
wifi: set dns priority (#21743)
* wifi: set route and dns priority
* default route priority is 600
old-commit-hash: 0425a33400
This commit is contained in:
@@ -195,6 +195,7 @@ void WifiManager::connect(const QByteArray &ssid, const QString &username, const
|
||||
}
|
||||
|
||||
connection["ipv4"]["method"] = "auto";
|
||||
connection["ipv4"]["dns-priority"] = 600;
|
||||
connection["ipv6"]["method"] = "ignore";
|
||||
|
||||
QDBusInterface nm_settings(NM_DBUS_SERVICE, NM_DBUS_PATH_SETTINGS, NM_DBUS_INTERFACE_SETTINGS, bus);
|
||||
|
||||
Reference in New Issue
Block a user