summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-06-27 22:48:50 +0200
committerThomas Haller <thaller@redhat.com>2018-07-24 09:39:09 +0200
commit0b8e1fd9711ba1bdb6d84dc7585d1e706882bb31 (patch)
treef007efb9c05c5b4bd2e13e2f618f8ab9627e159f /src/devices/nm-device-private.h
parentc3ab0ed60f35ad0a081066eb7eb5da6d3bf71c18 (diff)
downloadNetworkManager-0b8e1fd9711ba1bdb6d84dc7585d1e706882bb31.tar.gz
core/trival: rename nm_device_match_hwaddr() function to nm_device_match_parent_hwaddr()
This name is better, because it compares the MAC address of the device's parent.
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r--src/devices/nm-device-private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index ba28e9e429..dd928d859e 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -143,8 +143,8 @@ gboolean _nm_device_hash_check_invalid_keys (GHashTable *hash, const char *setti
_nm_device_hash_check_invalid_keys (hash, setting_name, error, ((const char *[]) { __VA_ARGS__, NULL }))
gboolean nm_device_match_parent (NMDevice *device, const char *parent);
-gboolean nm_device_match_hwaddr (NMDevice *device,
- NMConnection *connection,
- gboolean fail_if_no_hwaddr);
+gboolean nm_device_match_parent_hwaddr (NMDevice *device,
+ NMConnection *connection,
+ gboolean fail_if_no_hwaddr);
#endif /* NM_DEVICE_PRIVATE_H */