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{}, DstIP: netip.Addr{},
DstPort: port, DstPort: port,
} }
err = nil
return return
} else if ip.Is4() { } else if ip.Is4() {
addr = &C.Metadata{ addr = &C.Metadata{