summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-ip6-config.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-12-06 21:26:03 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2017-12-07 09:58:09 +0100
commita9b507932465888504cbf93bcf3a86b1c3b1df79 (patch)
tree71f2c87ef9f2d9f79c436e9ed29fa0d76bdb3046 /libnm-core/nm-setting-ip6-config.c
parent993a726c4a81418367c798227e7dcdf96b98cd22 (diff)
downloadNetworkManager-a9b507932465888504cbf93bcf3a86b1c3b1df79.tar.gz
ifcfg-rh: use separate variables for DNS searches
DNS searches from the ipv4 and ipv6 settings were joined and written to the same ifcfg-rh "DOMAIN" variable and so the connection read back from disk was different from the one written. Instead, introduce a separate variable for ipv6 searches; to preserve backwards compatibility, still read the "DOMAIN" variable for ipv6 when ipv4 is disabled so that we don't lose DNS searches on upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1517794
Diffstat (limited to 'libnm-core/nm-setting-ip6-config.c')
-rw-r--r--libnm-core/nm-setting-ip6-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-ip6-config.c b/libnm-core/nm-setting-ip6-config.c
index 858ddaf2ef..00e9391da1 100644
--- a/libnm-core/nm-setting-ip6-config.c
+++ b/libnm-core/nm-setting-ip6-config.c
@@ -550,7 +550,7 @@ nm_setting_ip6_config_class_init (NMSettingIP6ConfigClass *ip6_class)
/* ---ifcfg-rh---
* property: dns-search
- * variable: DOMAIN
+ * variable: IPV6_DOMAIN
* format: string (space-separated domains)
* description: List of DNS search domains.
* ---end---