mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 21:31:16 +08:00
Fix: invert should resolve ip (#836)
This commit is contained in:
parent
6c5f23f552
commit
6532947e71
@ -289,7 +289,7 @@ func handleTCPConn(localConn C.ServerAdapter) {
|
||||
}
|
||||
|
||||
func shouldResolveIP(rule C.Rule, metadata *C.Metadata) bool {
|
||||
return !rule.ShouldResolveIP() && metadata.Host != "" && metadata.DstIP == nil
|
||||
return rule.ShouldResolveIP() && metadata.Host != "" && metadata.DstIP == nil
|
||||
}
|
||||
|
||||
func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user