summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-6lowpan.c
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-6lowpan.c
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-6lowpan.c')
-rw-r--r--src/devices/nm-device-6lowpan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-6lowpan.c b/src/devices/nm-device-6lowpan.c
index 9119ab00c3..2f395f4a2b 100644
--- a/src/devices/nm-device-6lowpan.c
+++ b/src/devices/nm-device-6lowpan.c
@@ -218,7 +218,7 @@ complete_connection (NMDevice *device,
* settings, then there's not enough information to complete the setting.
*/
if ( !nm_setting_6lowpan_get_parent (s_6lowpan)
- && !nm_device_match_hwaddr (device, connection, TRUE)) {
+ && !nm_device_match_parent_hwaddr (device, connection, TRUE)) {
g_set_error_literal (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_INVALID_CONNECTION,
"The '6lowpan' setting had no interface name, parent, or hardware address.");
return FALSE;