mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 19:40:19 +01:00
tui: always unset "active-slave" bond option in nmtui
"active_slave" option is a deprecated alias for "primary". nmtui can configure the "primary" option, so whenever it configures a profile the "active_slave" option should be unset.
This commit is contained in:
parent
2e2e2f92df
commit
ef687f5c49
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ _bond_add_option (NMSettingBond *s_bond,
|
|||
_nm_setting_bond_remove_options_miimon (s_bond);
|
||||
else if (nm_streq (option, NM_SETTING_BOND_OPTION_MIIMON))
|
||||
_nm_setting_bond_remove_options_arp_interval (s_bond);
|
||||
nm_setting_bond_remove_option (s_bond, NM_SETTING_BOND_OPTION_ACTIVE_SLAVE);
|
||||
}
|
||||
|
||||
#define WIDGET_CHANGED_FUNC(widget, func, option, dflt) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue