summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-01-12 10:20:24 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2019-01-12 22:57:37 +0100
commitbcb91f4f65fcc864f67d001faff93f545cd9e1ab (patch)
tree186d8d5c9cc7a582c28e9da7fc4c2bb0a5d1f9bf
parent1f32e417a81f7a786f91c53101ab42ad1f8b238a (diff)
downloadNetworkManager-bcb91f4f65fcc864f67d001faff93f545cd9e1ab.tar.gz
clients: fix appending to dns-property variable
Appending to the ipvx.dns-options property: nmcli connection modify con +ipv4.dns-options rotate currently is buggy because it resets the list to contain only 'rotate'. The setter function should not clear the list. https://bugzilla.redhat.com/show_bug.cgi?id=1665649
-rw-r--r--clients/common/nm-meta-setting-desc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
index 105bd51809..b2622750a5 100644
--- a/clients/common/nm-meta-setting-desc.c
+++ b/clients/common/nm-meta-setting-desc.c
@@ -3396,7 +3396,6 @@ _set_fcn_ip_config_dns_options (ARGS_SET_FCN)
nm_assert (!error || !*error);
- nm_setting_ip_config_clear_dns_options (NM_SETTING_IP_CONFIG (setting), TRUE);
strv = nm_utils_strsplit_set (value, " \t,", FALSE);
if (strv) {
for (i = 0; strv[i]; i++)