mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-14 20:20:31 +01:00
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
This commit is contained in:
parent
1f32e417a8
commit
bcb91f4f65
1 changed files with 0 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue