From a69001f035f0aaba8cfad22ad0d745abc8ab3188 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 13 Jan 2024 04:47:13 +0100 Subject: [PATCH] feat: Set network (#30) --- src/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.go b/src/main.go index 534cacb..87975fd 100644 --- a/src/main.go +++ b/src/main.go @@ -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())