Xray-core/proxy/freedom/config.go

6 lines
169 B
Go
Raw Normal View History

2020-11-25 13:01:53 +02:00
package freedom
func (c *Config) useIP() bool {
return c.DomainStrategy == Config_USE_IP || c.DomainStrategy == Config_USE_IP4 || c.DomainStrategy == Config_USE_IP6
}