summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-04-06 09:49:17 +0200
committerThomas Haller <thaller@redhat.com>2021-04-07 07:57:35 +0200
commit44fbff63fc0d4b76b21e8922912afb70ed944c34 (patch)
treef65e65068203bce0d793f2af3ceff945b25919a1
parente38938b3db0742cc2dd236586145b9c6c94d7161 (diff)
downloadNetworkManager-44fbff63fc0d4b76b21e8922912afb70ed944c34.tar.gz
dns/trivial: add code comment
-rw-r--r--src/core/dns/nm-dns-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dns/nm-dns-manager.c b/src/core/dns/nm-dns-manager.c
index 900ae083fc..9854cb60fb 100644
--- a/src/core/dns/nm-dns-manager.c
+++ b/src/core/dns/nm-dns-manager.c
@@ -270,6 +270,8 @@ _dns_config_ip_data_new(NMDnsConfigData * data,
c_list_link_tail(&NM_DNS_MANAGER_GET_PRIVATE(data->self)->ip_config_lst_head,
&ip_data->ip_config_lst);
+ /* We also need to set priv->ip_config_lst_need_sort, but the caller will do that! */
+
g_signal_connect(ip_config,
NM_IS_IP4_CONFIG(ip_config) ? "notify::" NM_IP4_CONFIG_DNS_PRIORITY
: "notify::" NM_IP6_CONFIG_DNS_PRIORITY,