mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 02:50:18 +01:00
dns: set first Domains/DefaultRoute in systemd-resolved before DNS
This commit is contained in:
parent
fbf1683c1a
commit
95017dccdd
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,6 @@ prepare_one_interface(NMDnsSystemdResolved *self, InterfaceConfig *ic)
|
|||
if (!nm_str_is_empty(mdns_arg) || !nm_str_is_empty(llmnr_arg))
|
||||
has_config = TRUE;
|
||||
|
||||
_request_item_append(&priv->request_queue_lst_head, "SetLinkDNS", g_variant_builder_end(&dns));
|
||||
_request_item_append(&priv->request_queue_lst_head,
|
||||
"SetLinkDomains",
|
||||
g_variant_builder_end(&domains));
|
||||
|
|
@ -281,6 +280,7 @@ prepare_one_interface(NMDnsSystemdResolved *self, InterfaceConfig *ic)
|
|||
_request_item_append(&priv->request_queue_lst_head,
|
||||
"SetLinkLLMNR",
|
||||
g_variant_new("(is)", ic->ifindex, llmnr_arg ?: ""));
|
||||
_request_item_append(&priv->request_queue_lst_head, "SetLinkDNS", g_variant_builder_end(&dns));
|
||||
|
||||
return has_config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue