mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 08:18:03 +02:00
team: set connection type for class, else the generating connection is invalid
(cherry picked from commit 4ece719beb)
This commit is contained in:
parent
790d97fc9c
commit
768df83cd8
1 changed files with 2 additions and 0 deletions
|
|
@ -855,6 +855,8 @@ nm_device_team_class_init (NMDeviceTeamClass *klass)
|
||||||
|
|
||||||
g_type_class_add_private (object_class, sizeof (NMDeviceTeamPrivate));
|
g_type_class_add_private (object_class, sizeof (NMDeviceTeamPrivate));
|
||||||
|
|
||||||
|
parent_class->connection_type = NM_SETTING_TEAM_SETTING_NAME;
|
||||||
|
|
||||||
/* virtual methods */
|
/* virtual methods */
|
||||||
object_class->constructed = constructed;
|
object_class->constructed = constructed;
|
||||||
object_class->get_property = get_property;
|
object_class->get_property = get_property;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue