summaryrefslogtreecommitdiff
path: root/cli/src
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-07-02 11:43:47 -0400
committerDan Williams <dcbw@redhat.com>2013-11-14 19:14:03 -0600
commita698c6af860e0ca8ff5138ce53e39d99c8e46426 (patch)
treee747027ce2268139b857eb4b754f9fed0797d541 /cli/src
parent1981323b19f1ad22e53ef9ac1cd3783346e7c121 (diff)
downloadNetworkManager-dcbw/bondprops.tar.gz
bond: add proper properties to NMSettingBond, deprecate "options" [WIP]dcbw/bondprops
Make NMSettingBond have individual properties like other settings types. Deprecate the old "options"-based APIs, and at the same time, revert them back to only working for the properties that existed in 0.9.8, not the new 0.9.10 ones.
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/connections.c b/cli/src/connections.c
index 8ae9ce3337..e5b5182309 100644
--- a/cli/src/connections.c
+++ b/cli/src/connections.c
@@ -3725,7 +3725,7 @@ cleanup_vlan:
bond_primary);
goto cleanup_bond;
}
- nm_setting_bond_add_option (s_bond, NM_SETTING_BOND_OPTION_PRIMARY, bond_primary);
+ g_object_set (s_bond, NM_SETTING_BOND_PRIMARY, bond_primary, NULL);
}
if (bond_miimon)
nm_setting_bond_add_option (s_bond, NM_SETTING_BOND_OPTION_MIIMON, bond_miimon);