You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/transport/config.go

17 lines
281 B

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