fix: relay conn error when addr is domain
This commit is contained in:
parent
b5e7abfa15
commit
931d5dd5b3
1 changed files with 1 additions and 0 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue