From faf3cef54282952fb50ed7c881f10782dccc39fe Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 25 Jul 2017 14:56:47 +0200 Subject: [PATCH] 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) --- libnm-core/nm-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }