From bcb91f4f65fcc864f67d001faff93f545cd9e1ab Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Sat, 12 Jan 2019 10:20:24 +0100 Subject: [PATCH] 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 --- clients/common/nm-meta-setting-desc.c | 1 - 1 file changed, 1 deletion(-) 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++)