From 86f8fe4eb4fdf259e1885da4801c3eb1b857281b Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 13 Jan 2019 20:15:38 +0100 Subject: [PATCH] warning message for global trasnport config --- transport/internet/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/transport/internet/config.go b/transport/internet/config.go index 3813c4e94..92a180803 100644 --- a/transport/internet/config.go +++ b/transport/internet/config.go @@ -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 }