1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/transport/config.go
2016-10-14 21:19:26 +02:00

17 lines
281 B
Go

package transport
import (
"v2ray.com/core/transport/internet"
)
// Apply applies this Config.
func (this *Config) Apply() error {
if this == nil {
return nil
}
if err := internet.ApplyGlobalNetworkSettings(this.NetworkSettings); err != nil {
return err
}
return nil
}