summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-06-11 15:23:47 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-06-23 15:20:27 +0200
commit4ece719bebd84fbcc61f5adb88d112575601b1c1 (patch)
treed994efcb2da5f96c20dcbcc049ddaee6d26bcd01
parent206753fed82b4c0de305dee59d60253bf510bc5b (diff)
downloadNetworkManager-4ece719bebd84fbcc61f5adb88d112575601b1c1.tar.gz
team: set connection type for class, else the generating connection is invalid
-rw-r--r--src/devices/nm-device-team.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/nm-device-team.c b/src/devices/nm-device-team.c
index 4d7f1cc76f..c04b14b40b 100644
--- a/src/devices/nm-device-team.c
+++ b/src/devices/nm-device-team.c
@@ -855,6 +855,8 @@ nm_device_team_class_init (NMDeviceTeamClass *klass)
g_type_class_add_private (object_class, sizeof (NMDeviceTeamPrivate));
+ parent_class->connection_type = NM_SETTING_TEAM_SETTING_NAME;
+
/* virtual methods */
object_class->constructed = constructed;
object_class->get_property = get_property;