Xray-core/proxy/freedom/config.go

6 lines
169 B
Go
Raw Permalink Normal View History

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