mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
improve relay
This commit is contained in:
parent
e055918656
commit
dd8d8ee4ce
3 changed files with 19 additions and 12 deletions
3
main.go
3
main.go
|
@ -117,6 +117,5 @@ func relay(c *cli.Context) error {
|
|||
cr.TcpPorts = strings.Split(c.GlobalString("tcp"), ",")
|
||||
cr.ServerPort = c.GlobalString("port")
|
||||
cr.CurveType = c.GlobalString("curve")
|
||||
fmt.Println("relay")
|
||||
return nil
|
||||
return cr.Relay()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue