mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 01:10:22 +01:00
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
(cherry picked from commit 913896721d)
This commit is contained in:
parent
662b1f8b7c
commit
f950df775f
1 changed files with 0 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue