From a44e366bf64ecc755692aad6f989da970e936307 Mon Sep 17 00:00:00 2001 From: Riobard Date: Sun, 9 Aug 2020 19:58:06 +0800 Subject: [PATCH] Fixed typo --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 196eb018..4a4be4b6 100644 --- a/main.go +++ b/main.go @@ -61,7 +61,7 @@ func main() { flag.StringVar(&flags.Plugin, "plugin", "", "Enable SIP003 plugin. (e.g., v2ray-plugin)") flag.StringVar(&flags.PluginOpts, "plugin-opts", "", "Set SIP003 plugin options. (e.g., \"server;tls;host=mydomain.me\")") flag.BoolVar(&flags.UDP, "udp", false, "(server-only) enable UDP support") - flag.BoolVar(&flags.UDP, "tcp", true, "(server-only) enable TCP support") + flag.BoolVar(&flags.TCP, "tcp", true, "(server-only) enable TCP support") flag.BoolVar(&config.TCPCork, "tcpcork", false, "(client-only) enable TCP_CORK (Linux) or TCP_NOPUSH (BSD) for the first few packets") flag.DurationVar(&config.UDPTimeout, "udptimeout", 5*time.Minute, "UDP tunnel timeout") flag.Parse()