update utp server settings hint + cosmetics

This commit is contained in:
nikk gitanes
2023-08-14 21:43:57 +03:00
parent afcd76d7fc
commit 8f8494295f
6 changed files with 7 additions and 9 deletions

View File

@@ -141,7 +141,7 @@ func (bt *BTServer) configure(ctx context.Context) {
// }
// log.Println("Set listen port", lport)
log.Println("Set listen port to random autoselect (0)")
bt.config.ListenPort = 0 //lport
bt.config.ListenPort = 0 // lport
}
}

View File

@@ -37,10 +37,8 @@ func Start(port string) {
}
err := BTS.Connect()
if err != nil {
log.TLogln("BTS.Connect() error!", err)
os.Exit(1)
//waitChan <- err
//return
log.TLogln("BTS.Connect() error!", err) // waitChan <- err
os.Exit(1) // return
}
rutor.Start()