1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-01-12 21:53:33 +02:00
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
}