Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func payload(req REQ) string {
data = fmt.Sprintf(`{"buildnumber":%d,"smallfixnumber":%d}`,
*HostBuildNumber, *HostFixNumber)
case 5: // Guest SN
run_once()
data = strings.ToUpper(*GuestSN)
case 7: // CPU info
data = fmt.Sprintf(`{"cpuinfo":"%s","vcpu_num":%d}`,
Expand All @@ -263,6 +264,7 @@ func payload(req REQ) string {
run_once()
data = uuid(host_id())
case 13: // Host SN
run_once()
data = strings.ToUpper(*HostSN)
case 14: // Host MAC
data = strings.ToLower(strings.ReplaceAll(*HostMAC, "-", ":"))
Expand Down