mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
fix: relay conn error when addr is domain
This commit is contained in:
parent
b5e7abfa15
commit
931d5dd5b3
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue
Block a user