Skip to content

Commit a44e366

Browse files
committed
Fixed typo
1 parent 50676a7 commit a44e366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func main() {
6161
flag.StringVar(&flags.Plugin, "plugin", "", "Enable SIP003 plugin. (e.g., v2ray-plugin)")
6262
flag.StringVar(&flags.PluginOpts, "plugin-opts", "", "Set SIP003 plugin options. (e.g., \"server;tls;host=mydomain.me\")")
6363
flag.BoolVar(&flags.UDP, "udp", false, "(server-only) enable UDP support")
64-
flag.BoolVar(&flags.UDP, "tcp", true, "(server-only) enable TCP support")
64+
flag.BoolVar(&flags.TCP, "tcp", true, "(server-only) enable TCP support")
6565
flag.BoolVar(&config.TCPCork, "tcpcork", false, "(client-only) enable TCP_CORK (Linux) or TCP_NOPUSH (BSD) for the first few packets")
6666
flag.DurationVar(&config.UDPTimeout, "udptimeout", 5*time.Minute, "UDP tunnel timeout")
6767
flag.Parse()

0 commit comments

Comments
 (0)