diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index d6ac3f9df5..7d4b482ef2 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -6591,7 +6591,7 @@ dhcp4_get_client_id (NMDevice *self, NMConnection *connection) client_id_buf = g_malloc (1 + 15); client_id_buf[0] = 0; - memcpy (&client_id_buf[0], buf, 15); + memcpy (&client_id_buf[1], buf, 15); return g_bytes_new_take (client_id_buf, 1 + 15); }