Skip to content

Commit 9e3bdf1

Browse files
committed
vpnkit-forwarder: update to new virtsock API
Signed-off-by: David Scott <[email protected]>
1 parent 67b5965 commit 9e3bdf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/cmd/vpnkit-forwarder/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func main() {
3434

3535
if *hvGUID != "" {
3636
svcid, _ := hvsock.GUIDFromString(*hvGUID)
37-
hvsock, err := hvsock.Listen(hvsock.HypervAddr{VMID: hvsock.GUIDWildcard, ServiceID: svcid})
37+
hvsock, err := hvsock.Listen(hvsock.Addr{VMID: hvsock.GUIDWildcard, ServiceID: svcid})
3838
if err != nil {
3939
log.Fatalf("Failed to bind hvsock guid: %s: %v", *hvGUID, err)
4040
}

0 commit comments

Comments
 (0)