1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 05:11:06 +02:00

improve relay

This commit is contained in:
Zack Scholl 2018-07-01 09:23:15 -07:00
parent e055918656
commit dd8d8ee4ce
3 changed files with 19 additions and 12 deletions

View file

@ -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()
}