mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-11 11:40:12 +08:00
Update utils.go
This commit is contained in:
@@ -38,7 +38,7 @@ func platform() string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "N/A"
|
return "N/A"
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("%s", h.PlatformVersion)
|
return fmt.Sprintf("%s-%s", h.Platform, h.KernelVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
func mem() string {
|
func mem() string {
|
||||||
|
Reference in New Issue
Block a user