summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-02-24 14:24:54 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2017-02-24 21:08:54 +0100
commit913896721d7c7c65f7e4a24e8c0d9d275a9dfbaa (patch)
treea8f441639c6861986eece1c7149d744926be7f3f
parente40d47fe7ccd725ecf6231e0f1193a029ea05e47 (diff)
downloadNetworkManager-913896721d7c7c65f7e4a24e8c0d9d275a9dfbaa.tar.gz
dns/resolved: consider configuration from unmanaged devices
The DNS configuration for VPN connections is associated to the VPN device (tun, ppp, etc.) and that device can be unmanaged by NM: don't ignore such configuration. We do the same for other DNS plugins. https://bugzilla.gnome.org/show_bug.cgi?id=779087
-rw-r--r--src/dns/nm-dns-systemd-resolved.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dns/nm-dns-systemd-resolved.c b/src/dns/nm-dns-systemd-resolved.c
index 325088e2f9..ed165618ec 100644
--- a/src/dns/nm-dns-systemd-resolved.c
+++ b/src/dns/nm-dns-systemd-resolved.c
@@ -118,9 +118,6 @@ add_interface_configuration (NMDnsSystemdResolved *self,
device = nm_manager_get_device_by_ifindex (nm_manager_get (), ifindex);
- if (!nm_device_get_managed (device, FALSE))
- return;
-
for (i = 0; i < interfaces->len; i++) {
InterfaceConfig *tic = &g_array_index (interfaces, InterfaceConfig, i);
if (ifindex == tic->ifindex) {