Skip to content

Commit

Permalink
feat: Set network (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jan 13, 2024
1 parent a6ace7f commit a69001f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ func payload(req REQ) string {
case 8: // VM version
data = fmt.Sprintf(`{"id":"Virtualization","name":"Virtual Machine Manager","timestamp":%d,"version":"%s"}`,
*VmTimestamp, *VmVersion)
case 10: // Set network
data = `{"detail":[{"success":false,"type":"set_net"}]}`
case 11: // Guest UUID
run_once()
data = uuid(guest_id())
Expand Down

0 comments on commit a69001f

Please sign in to comment.