summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dns/nm-dns-manager.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/dns/nm-dns-manager.c b/src/dns/nm-dns-manager.c
index caf99fc36e..74b8a72648 100644
--- a/src/dns/nm-dns-manager.c
+++ b/src/dns/nm-dns-manager.c
@@ -1557,6 +1557,21 @@ rebuild_domain_lists(NMDnsManager *self)
has_default_route_explicit || (priority < 0 && has_default_route_auto);
ip_data->domains.has_default_route =
ip_data->domains.has_default_route_exclusive || has_default_route_auto;
+
+ {
+ gs_free char *str1 = NULL;
+ gs_free char *str2 = NULL;
+
+ _LOGT("plugin: settings: ifindex=%d, priority=%d, default-route=%d%s, search=%s, reverse=%s",
+ ip_data->data->ifindex,
+ priority,
+ ip_data->domains.has_default_route,
+ ip_data->domains.has_default_route_explicit
+ ? " (explicit)"
+ : (ip_data->domains.has_default_route_exclusive ? " (exclusive)" : ""),
+ (str1 = g_strjoinv(",", (char **) ip_data->domains.search)),
+ (str2 = g_strjoinv(",", ip_data->domains.reverse)));
+ }
}
}