mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 16:30:39 +01:00
ifcfg-rh: trivial: rename write_bonding_setting() to write_bond_setting()
The setting name is NMSettingBond.
This commit is contained in:
parent
e89ed9b51e
commit
7dc1f8b479
1 changed files with 2 additions and 2 deletions
|
|
@ -1242,7 +1242,7 @@ write_vlan_setting (NMConnection *connection, shvarFile *ifcfg, gboolean *wired,
|
|||
}
|
||||
|
||||
static gboolean
|
||||
write_bonding_setting (NMConnection *connection, shvarFile *ifcfg, gboolean *wired, GError **error)
|
||||
write_bond_setting (NMConnection *connection, shvarFile *ifcfg, gboolean *wired, GError **error)
|
||||
{
|
||||
NMSettingBond *s_bond;
|
||||
guint32 i, num_opts;
|
||||
|
|
@ -2838,7 +2838,7 @@ write_connection (NMConnection *connection,
|
|||
if (!write_infiniband_setting (connection, ifcfg, error))
|
||||
return FALSE;
|
||||
} else if (!strcmp (type, NM_SETTING_BOND_SETTING_NAME)) {
|
||||
if (!write_bonding_setting (connection, ifcfg, &wired, error))
|
||||
if (!write_bond_setting (connection, ifcfg, &wired, error))
|
||||
return FALSE;
|
||||
} else if (!strcmp (type, NM_SETTING_TEAM_SETTING_NAME)) {
|
||||
if (!write_team_setting (connection, ifcfg, &wired, error))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue