summaryrefslogtreecommitdiff
path: root/src/nm-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device.c')
-rw-r--r--src/nm-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-device.c b/src/nm-device.c
index ad1976b03c..abffe1264f 100644
--- a/src/nm-device.c
+++ b/src/nm-device.c
@@ -3038,7 +3038,7 @@ nm_device_set_ip4_config (NMDevice *self,
if (diff == NM_IP4_COMPARE_FLAG_NONE)
return TRUE;
- dns_mgr = nm_dns_manager_get ();
+ dns_mgr = nm_dns_manager_get (NULL);
if (old_config) {
/* Remove any previous IP4 Config from the DNS manager */
nm_dns_manager_remove_ip4_config (dns_mgr, ip_iface, old_config);
@@ -3141,7 +3141,7 @@ nm_device_set_ip6_config (NMDevice *self,
if (diff == NM_IP6_COMPARE_FLAG_NONE)
return TRUE;
- dns_mgr = nm_dns_manager_get ();
+ dns_mgr = nm_dns_manager_get (NULL);
if (old_config) {
/* Remove any previous IP6 Config from the DNS manager */
nm_dns_manager_remove_ip6_config (dns_mgr, ip_iface, old_config);