mirror of https://github.com/XTLS/Xray-core
6 lines
169 B
Go
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
|
||
|
}
|