fix: relay conn error when addr is domain

This commit is contained in:
gVisor bot 2022-04-23 10:26:22 +08:00
parent b5e7abfa15
commit 931d5dd5b3

View File

@ -24,6 +24,7 @@ func addrToMetadata(rawAddress string) (addr *C.Metadata, err error) {
DstIP: netip.Addr{},
DstPort: port,
}
err = nil
return
} else if ip.Is4() {
addr = &C.Metadata{