summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-09-30 12:52:59 +0200
committerThomas Haller <thaller@redhat.com>2015-09-30 13:21:39 +0200
commitbcb98159edd9e2e1476f8044382fc2c1804514d9 (patch)
treef3c4f495834f84eebd29da9946790d746f384cf2
parentd6af8ae67e7108e8ef8ecbf97e49908b2644a6d6 (diff)
downloadNetworkManager-bg/global-dns-conf-bgo750458.tar.gz
fixup! manager: export DNS global configuration D-Bus propertybg/global-dns-conf-bgo750458
-rw-r--r--src/nm-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-config.c b/src/nm-config.c
index 1d408aaa95..9edfac1b0a 100644
--- a/src/nm-config.c
+++ b/src/nm-config.c
@@ -1468,7 +1468,7 @@ nm_config_set_global_dns (NMConfig *self, NMGlobalDnsConfig *global_dns, GError
goto done;
/* Set new values */
- g_key_file_set_string (keyfile, NM_CONFIG_KEYFILE_GROUP_INTERN_GLOBAL_DNS, "enable", "yes");
+ g_key_file_set_string (keyfile, NM_CONFIG_KEYFILE_GROUP_INTERN_GLOBAL_DNS, NM_CONFIG_KEYFILE_KEY_GLOBAL_DNS_ENABLE, "yes");
nm_config_keyfile_set_string_list (keyfile, NM_CONFIG_KEYFILE_GROUP_INTERN_GLOBAL_DNS,
"searches", nm_global_dns_config_get_searches (global_dns),