diff options
Diffstat (limited to 'libnm-glib/nm-device-bond.c')
-rw-r--r-- | libnm-glib/nm-device-bond.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libnm-glib/nm-device-bond.c b/libnm-glib/nm-device-bond.c index 259f4dfcc0..b2af2ec349 100644 --- a/libnm-glib/nm-device-bond.c +++ b/libnm-glib/nm-device-bond.c @@ -191,6 +191,12 @@ connection_compatible (NMDevice *device, NMConnection *connection, GError **erro return NM_DEVICE_CLASS (nm_device_bond_parent_class)->connection_compatible (device, connection, error); } +static GType +get_setting_type (NMDevice *device) +{ + return NM_TYPE_SETTING_BOND; +} + static const char * get_hw_address (NMDevice *device) { @@ -298,6 +304,7 @@ nm_device_bond_class_init (NMDeviceBondClass *eth_class) object_class->finalize = finalize; object_class->get_property = get_property; device_class->connection_compatible = connection_compatible; + device_class->get_setting_type = get_setting_type; device_class->get_hw_address = get_hw_address; /* properties */ |