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
272 B

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