remove reduce zero ip detect

This commit is contained in:
Kr328 committed 2020-04-20 12:34:27 +08:00
1 parent 5fbd6c6196
commit 43987ad111
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ func hijackTCPDNS(conn net.Conn, endpoint *binding.Endpoint) bool {
return false
}
if !hijackAddress.Equal(net.IPv4zero) && !hijackAddress.Equal(net.IPv6zero) && !hijackAddress.Equal(endpoint.Target.IP) {
if !hijackAddress.Equal(net.IPv4zero) && !hijackAddress.Equal(endpoint.Target.IP) {
return false
}