vsock: update dependency to fix building error on riscv64 (#295)

This commit is contained in:
nadoo committed 2022-04-06 18:47:04 +08:00
1 parent 730e9c765e
commit a153c34e37
6 files changed
+15 -7

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
package vsock
// Source code from:
// https://github.com/linuxkit/virtsock/tree/master/pkg/vsock
package vsock
import (
"fmt"
"net"
+3 -1
View File
@@ -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.
`)
}