1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-03 06:30:42 +00:00

warning message for global trasnport config

This commit is contained in:
Darien Raymond 2019-01-13 20:15:38 +01:00
parent 5aee521798
commit 86f8fe4eb4
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -1,6 +1,9 @@
package internet
import "v2ray.com/core/common/serial"
import (
"v2ray.com/core/common/serial"
"v2ray.com/core/features"
)
type ConfigCreator func() interface{}
@ -107,6 +110,7 @@ func (c *StreamConfig) HasSecuritySettings() bool {
}
func ApplyGlobalTransportSettings(settings []*TransportConfig) error {
features.PrintDeprecatedFeatureWarning("global transport settings")
globalTransportSettings = settings
return nil
}