mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
vsock: update dependency to fix building error on riscv64 (#295)
This commit is contained in:
1 parent
730e9c765e
commit
a153c34e37
6 files changed
+15
-7
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package vsock
|
||||
|
||||
// Source code from:
|
||||
// https://github.com/linuxkit/virtsock/tree/master/pkg/vsock
|
||||
|
||||
package vsock
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
|
||||
@@ -58,6 +58,8 @@ func (s *vsock) Addr() string {
|
||||
func init() {
|
||||
proxy.AddUsage("vsock", `
|
||||
VM socket scheme:
|
||||
vsock://[contextID]:port
|
||||
vsock://[CID]:port
|
||||
|
||||
if you want to listen on any address, just set CID to 4294967295.
|
||||
`)
|
||||
}
|
||||
Reference in new issue
Block a user