summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-macvlan.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-07-10 08:14:56 +0200
committerThomas Haller <thaller@redhat.com>2018-07-24 09:39:09 +0200
commitb9ae79c273b069f48ea458855f5a3f1873b99e9c (patch)
tree3a10b9c8067b27f08aa0ec2101149e084a38e528 /src/devices/nm-device-macvlan.c
parent0b8e1fd9711ba1bdb6d84dc7585d1e706882bb31 (diff)
downloadNetworkManager-b9ae79c273b069f48ea458855f5a3f1873b99e9c.tar.gz
device/trivial: rename NMDeviceClass.connection_type to connection_type_supported
The term "connection_type" is overused. Give it a more distinct name.
Diffstat (limited to 'src/devices/nm-device-macvlan.c')
-rw-r--r--src/devices/nm-device-macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-macvlan.c b/src/devices/nm-device-macvlan.c
index 9adcd3753d..49c1f6eb88 100644
--- a/src/devices/nm-device-macvlan.c
+++ b/src/devices/nm-device-macvlan.c
@@ -505,7 +505,7 @@ nm_device_macvlan_class_init (NMDeviceMacvlanClass *klass)
device_class->act_stage1_prepare = act_stage1_prepare;
device_class->check_connection_compatible = check_connection_compatible;
device_class->complete_connection = complete_connection;
- device_class->connection_type = NM_SETTING_MACVLAN_SETTING_NAME;
+ device_class->connection_type_supported = NM_SETTING_MACVLAN_SETTING_NAME;
device_class->create_and_realize = create_and_realize;
device_class->get_generic_capabilities = get_generic_capabilities;
device_class->get_configured_mtu = nm_device_get_configured_mtu_for_wired;