about summary refs log tree commit diff
path: root/src/dhcp/nm-dhcp-utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-03-31 10:11:55 +0200
committerMichael Biebl <biebl@debian.org>2019-03-31 10:11:55 +0200
commit4b96345400eafd4bfc70fd77ef19e026d690aca0 (patch)
treefed6aa242532689235f5333132ff98b82961765f /src/dhcp/nm-dhcp-utils.c
parent8ea1145a9e031c8021590abf780dd7c149e231cf (diff)
parentf66fcea265a5869667d832386e9337237a44afef (diff)
Merge branch 'master' into stretch-backports
Diffstat (limited to 'src/dhcp/nm-dhcp-utils.c')
-rw-r--r--src/dhcp/nm-dhcp-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dhcp/nm-dhcp-utils.c b/src/dhcp/nm-dhcp-utils.c
index 6bbc670b..9b1653b8 100644
--- a/src/dhcp/nm-dhcp-utils.c
+++ b/src/dhcp/nm-dhcp-utils.c
@@ -726,10 +726,10 @@ nm_dhcp_utils_duid_to_string (GBytes *duid)
 	gconstpointer data;
 	gsize len;
 
-	g_return_val_if_fail (duid != NULL, NULL);
+	g_return_val_if_fail (duid, NULL);
 
 	data = g_bytes_get_data (duid, &len);
-	return _nm_utils_bin2str (data, len, FALSE);
+	return _nm_utils_bin2hexstr_full (data, len, ':', FALSE, NULL);
 }
 
 /**