mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
wifi: set dns priority (#21743)
* wifi: set route and dns priority * default route priority is 600 old-commit-hash: 0425a334004b93558b9d19696089302b5a0d33ee
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