We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50676a7 commit a44e366Copy full SHA for a44e366
main.go
@@ -61,7 +61,7 @@ func main() {
61
flag.StringVar(&flags.Plugin, "plugin", "", "Enable SIP003 plugin. (e.g., v2ray-plugin)")
62
flag.StringVar(&flags.PluginOpts, "plugin-opts", "", "Set SIP003 plugin options. (e.g., \"server;tls;host=mydomain.me\")")
63
flag.BoolVar(&flags.UDP, "udp", false, "(server-only) enable UDP support")
64
- flag.BoolVar(&flags.UDP, "tcp", true, "(server-only) enable TCP support")
+ flag.BoolVar(&flags.TCP, "tcp", true, "(server-only) enable TCP support")
65
flag.BoolVar(&config.TCPCork, "tcpcork", false, "(client-only) enable TCP_CORK (Linux) or TCP_NOPUSH (BSD) for the first few packets")
66
flag.DurationVar(&config.UDPTimeout, "udptimeout", 5*time.Minute, "UDP tunnel timeout")
67
flag.Parse()
0 commit comments