diff options
author | Thomas Haller <thaller@redhat.com> | 2018-07-10 08:14:56 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-07-24 09:39:09 +0200 |
commit | b9ae79c273b069f48ea458855f5a3f1873b99e9c (patch) | |
tree | 3a10b9c8067b27f08aa0ec2101149e084a38e528 /src/devices/nm-device-private.h | |
parent | 0b8e1fd9711ba1bdb6d84dc7585d1e706882bb31 (diff) | |
download | NetworkManager-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-private.h')
-rw-r--r-- | src/devices/nm-device-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h index dd928d859e..edfb91ecf6 100644 --- a/src/devices/nm-device-private.h +++ b/src/devices/nm-device-private.h @@ -131,7 +131,7 @@ void nm_device_commit_mtu (NMDevice *self); /*****************************************************************************/ #define NM_DEVICE_CLASS_DECLARE_TYPES(klass, conn_type, ...) \ - NM_DEVICE_CLASS (klass)->connection_type = conn_type; \ + NM_DEVICE_CLASS (klass)->connection_type_supported = conn_type; \ { \ static const NMLinkType link_types[] = { __VA_ARGS__, NM_LINK_TYPE_NONE }; \ NM_DEVICE_CLASS (klass)->link_types = link_types; \ |