Fix incorrect assignment of SystemSerialNumber and SystemManufacturer (#1600)

This commit is contained in:
Bethuel Mmbaga 2024-02-20 22:50:14 +03:00 committed by GitHub
parent 0fbf72434e
commit e1eddd1cab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,9 +285,9 @@ func extractPeerMeta(loginReq *proto.LoginRequest) nbpeer.PeerSystemMeta {
UIVersion: loginReq.GetMeta().GetUiVersion(),
KernelVersion: loginReq.GetMeta().GetKernelVersion(),
NetworkAddresses: networkAddresses,
SystemSerialNumber: loginReq.GetMeta().GetSysManufacturer(),
SystemSerialNumber: loginReq.GetMeta().GetSysSerialNumber(),
SystemProductName: loginReq.GetMeta().GetSysProductName(),
SystemManufacturer: loginReq.GetMeta().GetSysSerialNumber(),
SystemManufacturer: loginReq.GetMeta().GetSysManufacturer(),
}
}