mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 15:50:07 +01:00
nmcli: team: clear runner-tx-hash before adding new hashes
https://bugzilla.redhat.com/show_bug.cgi?id=1541922
This commit is contained in:
parent
2a3de3778d
commit
350dbb55ab
1 changed files with 3 additions and 0 deletions
|
|
@ -3964,6 +3964,9 @@ _set_fcn_team_runner_tx_hash (ARGS_SET_FCN)
|
|||
error))
|
||||
return FALSE;
|
||||
|
||||
while (nm_setting_team_get_num_runner_tx_hash (NM_SETTING_TEAM (setting)))
|
||||
nm_setting_team_remove_runner_tx_hash (NM_SETTING_TEAM (setting), 0);
|
||||
|
||||
if (strv) {
|
||||
for (i = 0; strv[i]; i++)
|
||||
nm_setting_team_add_runner_tx_hash (NM_SETTING_TEAM (setting), strv[i]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue