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
+5 -1
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
}