summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-07-25 14:56:47 +0200
committerThomas Haller <thaller@redhat.com>2017-07-25 15:40:34 +0200
commitfaf3cef54282952fb50ed7c881f10782dccc39fe (patch)
tree82c3693ea2602316e8318d221cefb18d6d36422d
parent91cb4583496453d5b530d5e9dce12e6df647ebfd (diff)
downloadNetworkManager-faf3cef54282952fb50ed7c881f10782dccc39fe.tar.gz
core: fix creating lower-case MAC address with nm_utils_hwaddr_ntoa_buf()
There is only one caller at the moment, and he passes TRUE anyway. (cherry picked from commit f0adca00f37286677ac7be99ad33e14bd2e0c5f9)
-rw-r--r--libnm-core/nm-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c
index 1feee7ac2a..8a80d2d3cb 100644
--- a/libnm-core/nm-utils.c
+++ b/libnm-core/nm-utils.c
@@ -3262,7 +3262,7 @@ nm_utils_hwaddr_ntoa_buf (gconstpointer addr, gsize addr_len, gboolean upper_cas
if (buf_len < addr_len * 3)
g_return_val_if_reached (NULL);
- _bin2str (addr, addr_len, ':', TRUE, buf);
+ _bin2str (addr, addr_len, ':', upper_case, buf);
return buf;
}