Xray-core/proxy/freedom/config.go
2020-11-25 19:01:53 +08:00

6 lines
169 B
Go

package freedom
func (c *Config) useIP() bool {
return c.DomainStrategy == Config_USE_IP || c.DomainStrategy == Config_USE_IP4 || c.DomainStrategy == Config_USE_IP6
}